Skip to content

Commit

Permalink
Use gcc@11 under MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Galfurian committed Nov 30, 2023
1 parent 379950f commit 28c00fd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ jobs:
uses: actions/checkout@v3
- name: Install dependencies
run: |
brew install gcc@11 git cmake nasm
brew install git cmake nasm
- name: Build
env:
CC: gcc-11
CXX: g++-11
run: |
cmake -DCMAKE_C_COMPILER=/opt/homebrew/bin/gcc-11 -DCMAKE_CXX_COMPILER=/opt/homebrew/bin/g++-11 -DCMAKE_ASM_COMPILER=/usr/local/bin/nasm -B build
cmake -B build
cmake --build build --parallel 2

0 comments on commit 28c00fd

Please sign in to comment.