forked from catchorg/Catch2
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:
8
.github/workflows/mac-builds.yml
vendored
8
.github/workflows/mac-builds.yml
vendored
@@ -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}} \
|
||||||
|
Reference in New Issue
Block a user