Skip to content

Commit

Permalink
Merge pull request #46 from tand00/macos-build-fix
Browse files Browse the repository at this point in the history
Fixed build-macos.yml
  • Loading branch information
srba authored Jul 11, 2024
2 parents 10e8f9b + 6e10e15 commit 6ca577a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
jobs:
build:
if: github.event.pull_request.draft == false
runs-on: macos-11
runs-on: macos-12

steps:
- uses: actions/checkout@v2
Expand All @@ -27,13 +27,13 @@ jobs:
- name: Prebuild
run: |
mkdir build && cd build
CC=gcc-10 CXX=g++-10 cmake ../ -DCMAKE_BUILD_TYPE=Prebuild -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DFLEX_EXECUTABLE=/usr/local/opt/flex/bin/flex
CC=gcc-11 CXX=g++-11 cmake ../ -DCMAKE_BUILD_TYPE=Prebuild -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DFLEX_EXECUTABLE=/usr/local/opt/flex/bin/flex
make
- name: Build
run: |
cd build
CC=gcc-10 CXX=g++-10 cmake ../ -DCMAKE_BUILD_TYPE=Release -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DFLEX_EXECUTABLE=/usr/local/opt/flex/bin/flex
CC=gcc-11 CXX=g++-11 cmake ../ -DCMAKE_BUILD_TYPE=Release -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DFLEX_EXECUTABLE=/usr/local/opt/flex/bin/flex
make
- name: Upload artifacts
Expand Down

0 comments on commit 6ca577a

Please sign in to comment.