Skip to content

Commit

Permalink
CI: switch from ubuntu-18.04 to ubuntu-latest
Browse files Browse the repository at this point in the history
The former will be removed in early 2023
  • Loading branch information
fingolfin committed Sep 7, 2022
1 parent f2b8fca commit 1ba839a
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04]
os: [ubuntu-latest]
shell: [bash]
test-suites:
[
Expand All @@ -67,12 +67,12 @@ jobs:
# also test `make install` here, as that wants the manual, too;
# and set NO_COVERAGE=1 to ensure the installed GAP binaries don't
# contain references to the build directory
- os: ubuntu-18.04
- os: ubuntu-latest
shell: bash
test-suites: "makemanuals testmakeinstall"
extra: "GAPPREFIX=/tmp/gapprefix CONFIGFLAGS=\"--prefix=/tmp/gapprefix\" NO_COVERAGE=1"

- os: ubuntu-18.04
- os: ubuntu-latest
shell: bash
test-suites: "teststandard"
extra: "ABI=32 CONFIGFLAGS=\"\""
Expand All @@ -81,19 +81,11 @@ jobs:
# but somehow when running on GitHub Actions, it takes almost 4
# hours (!) to complete instead of 25 minutes. So for now we just
# run testinstall.
- os: ubuntu-18.04
- os: ubuntu-latest
shell: bash
test-suites: "testinstall"
extra: "HPCGAP=yes ABI=64"

# compile packages and run GAP tests in 32 bit mode
# it seems profiling is having trouble collecting the coverage data
# here, so we use NO_COVERAGE=1
- os: ubuntu-18.04
shell: bash
test-suites: "testpackages testinstall-loadall"
extra: "ABI=32 NO_COVERAGE=1"

# this job also tests GAP without readline
- os: macos-latest
shell: bash
Expand All @@ -120,7 +112,7 @@ jobs:
# The '--enable-valgrind' checks that GAP builds and runs correctly
# when compiled with valgrind support. We do not actually run any
# tests using valgrind, as it is too slow.
- os: ubuntu-18.04
- os: ubuntu-latest
shell: bash
test-suites: "testbuildsys testmockpkg testinstall"
extra: "NO_COVERAGE=1 ABI=64 BUILDDIR=out-of-tree
Expand All @@ -129,7 +121,7 @@ jobs:

# same as above, but in 32 bit mode, also turn off debugging (see
# elsewhere in this file for an explanation).
- os: ubuntu-18.04
- os: ubuntu-latest
shell: bash
test-suites: "testbuildsys testmockpkg testinstall"
extra: "NO_COVERAGE=1 ABI=32 BUILDDIR=out-of-tree CONFIGFLAGS=\"\""
Expand Down

0 comments on commit 1ba839a

Please sign in to comment.