Skip to content

Commit 9c6b051

Browse files
authored
CI: Use macOS 12 (#1710)
GitHub is deprecating (and eventually removing) its macOS 10.15 runners. See actions/runner-images#5583. Let's upgrade to a newer version in the CI. This proves relatively straightforward—the only other change required is to upgrade to a newer version of `what4-solvers`.
1 parent 8aa2294 commit 9c6b051

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/ci.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Overall configuration notes:
22
# - Artifact uploads for binaries are from GHC 8.10.7
33
# - Builds for Ubuntu happen on 18.04 (would like to include 20.04, in addition)
4-
# - Builds for macOS builds on 10.15 (to avoid GHC bug on macOS 11; solvable with GHC > 8.10.4)
54
# - Docker builds happen nightly, on manual invocation, and on release branch commits
65
# Please update this comment as those details change.
76

@@ -24,7 +23,7 @@ env:
2423
# ./saw-remote-api/Dockerfile
2524
# ./s2nTests/scripts/blst-entrypoint.sh
2625
# ./s2nTests/docker/saw.dockerfile
27-
SOLVER_PKG_VERSION: "snapshot-20210917"
26+
SOLVER_PKG_VERSION: "snapshot-20220721"
2827

2928
OCAML_VERSION: 4.09.x
3029

@@ -67,9 +66,13 @@ jobs:
6766
strategy:
6867
fail-fast: false
6968
matrix:
70-
os: [ubuntu-18.04, macos-10.15, windows-latest]
69+
os: [ubuntu-18.04, macos-12, windows-latest]
7170
ghc: ["8.8.4", "8.10.7", "9.0.2"]
7271
exclude:
72+
# Exclude 8.8 on macOS 12 due to
73+
# https://gitlab.haskell.org/ghc/ghc/-/issues/18446
74+
- os: macos-12
75+
ghc: "8.8.4"
7376
- os: windows-latest
7477
ghc: "8.8.4"
7578
# Exclude 9.0 on Windows for now until
@@ -203,7 +206,7 @@ jobs:
203206
strategy:
204207
fail-fast: false
205208
matrix:
206-
os: [ubuntu-latest, macos-10.15]
209+
os: [ubuntu-latest, macos-12]
207210
runs-on: ${{ matrix.os }}
208211
steps:
209212
- uses: actions/checkout@v2
@@ -237,7 +240,7 @@ jobs:
237240
strategy:
238241
fail-fast: false
239242
matrix:
240-
os: [ubuntu-latest, macos-10.15]
243+
os: [ubuntu-latest, macos-12]
241244
runs-on: ${{ matrix.os }}
242245
steps:
243246
- uses: actions/checkout@v2
@@ -290,7 +293,7 @@ jobs:
290293
- test: saw-remote-api/scripts/run_rpc_tests.sh
291294
os: ubuntu-18.04
292295
- test: saw-remote-api/scripts/run_rpc_tests.sh
293-
os: macos-10.15
296+
os: macos-12
294297
- test: saw-remote-api/scripts/check_docs.sh
295298
os: ubuntu-18.04
296299
steps:
@@ -340,15 +343,15 @@ jobs:
340343
continue-on-error: [false]
341344
include:
342345
- suite: integration_tests
343-
os: macos-10.15
346+
os: macos-12
344347
continue-on-error: true # https://github.com/GaloisInc/saw-script/issues/1135
345348
- suite: integration_tests
346349
os: windows-latest
347350
timeout-minutes: 60
348351
continue-on-error: true # https://github.com/GaloisInc/saw-script/issues/1135
349352
exclude:
350353
- suite: integration_tests
351-
os: macos-10.15
354+
os: macos-12
352355
continue-on-error: false
353356
- suite: integration_tests
354357
os: windows-latest

0 commit comments

Comments
 (0)