Skip to content

Commit fc1f69c

Browse files
committed
CI: Upgrade to macos-latest (macos-12 currently)
This avoids a SIGSEGV for bazel_6 from nixpkgs, see NixOS/nixpkgs#273745.
1 parent 5347cde commit fc1f69c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/workflow.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
os: [ubuntu-latest, macos-11]
46+
os: [ubuntu-latest, macos-latest]
4747
module: [rules_haskell, rules_haskell_nix, rules_haskell_tests]
4848
bzlmod: [true, false]
4949
ghc:
@@ -144,7 +144,7 @@ jobs:
144144
strategy:
145145
fail-fast: false
146146
matrix:
147-
os: [ubuntu-latest, macos-11, windows-latest]
147+
os: [ubuntu-latest, macos-latest, windows-latest]
148148
module: [rules_haskell, rules_haskell_tests]
149149
bzlmod: [true, false]
150150
ghc:
@@ -165,14 +165,14 @@ jobs:
165165
# prevent auto-detection of system compilers on Windows
166166
BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN: ${{ matrix.os == 'windows-latest' && 1 || 0 }}
167167
# do not use Xcode on macOS
168-
BAZEL_USE_CPP_ONLY_TOOLCHAIN: ${{ matrix.os == 'macos-11' && 1 || 0 }}
168+
BAZEL_USE_CPP_ONLY_TOOLCHAIN: ${{ matrix.os == 'macos-latest' && 1 || 0 }}
169169
GHC_VERSION: ${{ matrix.ghc }}
170170
runs-on: ${{ matrix.os }}
171171
steps:
172172
- uses: actions/checkout@v4
173173
- uses: ./.github/actions/free_disk_space_on_linux
174174
- uses: ./.github/actions/install_apt_pkgs
175-
with:
175+
with:
176176
packages: libtinfo5
177177
- name: Mount Bazel cache
178178
uses: actions/cache@v3

0 commit comments

Comments
 (0)