Skip to content

Commit

Permalink
github: use gcc-12 instead of appleclang
Browse files Browse the repository at this point in the history
  • Loading branch information
quesnel committed Jan 25, 2024
1 parent 24d6263 commit b89a867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
BUILD_TYPE: [Debug, Release]
Expand All @@ -23,7 +23,7 @@ jobs:
run: brew install glew glfw

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_FLAGS=-Wno-undefined-inline -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_CXX_FLAGS=-Wno-undefined-inline -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.BUILD_TYPE}}
Expand Down

0 comments on commit b89a867

Please sign in to comment.