Skip to content

Commit

Permalink
macOS - Use gcc for runner
Browse files Browse the repository at this point in the history
  • Loading branch information
nlogozzo committed Jun 12, 2024
1 parent aadce66 commit 26dc6fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
run: |
mkdir build
brew install python-setuptools
brew install gcc@14
sudo ln -s $(which gcc-14) /usr/local/bin/gcc
sudo ln -s $(which g++-14) /usr/local/bin/g++
- name: "Vcpkg"
uses: johnwason/vcpkg-action@v6
id: vcpkg
Expand All @@ -37,7 +40,7 @@ jobs:
- name: "Build"
working-directory: ${{github.workspace}}/build
run: |
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
cmake .. -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
cmake --build .
- name: "Install"
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit 26dc6fb

Please sign in to comment.