Update to macos-12 GHA image

Since the last time, macos-12 has fixed the toolchain's linker
crash bug, so we can update here. macos-13 has a new and exciting
bug when unwinding exceptions in binaries compiled with GCC, so
we cannot update all the way at this time.
This commit is contained in:
Martin Hořeňovský 2024-07-22 10:19:27 +02:00
parent 381f29e974
commit 595bf9864e
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -4,11 +4,7 @@ on: [push, pull_request]
jobs: jobs:
build: build:
# macos-12 updated to a toolchain that crashes when linking the runs-on: macos-12
# test binary. This seems to be a known bug in that version,
# and will eventually get fixed in an update. After that, we can go
# back to newer macos images.
runs-on: macos-11
strategy: strategy:
matrix: matrix:
cxx: cxx:
@ -29,8 +25,6 @@ jobs:
env: env:
CXX: ${{matrix.cxx}} CXX: ${{matrix.cxx}}
CXXFLAGS: ${{matrix.cxxflags}} CXXFLAGS: ${{matrix.cxxflags}}
# Note: $GITHUB_WORKSPACE is distinct from ${{runner.workspace}}.
# This is important
run: | run: |
cmake -Bbuild -H$GITHUB_WORKSPACE \ cmake -Bbuild -H$GITHUB_WORKSPACE \
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \