Skip to content

Commit

Permalink
workflow: Use clang, gcc is weird
Browse files Browse the repository at this point in the history
  • Loading branch information
Royna2544 committed Nov 17, 2024
1 parent 8875c35 commit f201234
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/macos_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
# https://github.com/Homebrew/homebrew-core/issues/169820#issuecomment-2080459578
- name: Set up dependencies
run: |
brew install boost ninja gcc webp libpng libgit2 googletest jsoncpp openssl fmt
brew install boost ninja clang webp libpng libgit2 googletest jsoncpp openssl fmt
git submodule update --init
- name: Compile with Apple GCC
env:
CC: /usr/local/opt/gcc/bin/gcc-14
CXX: /usr/local/opt/gcc/bin/g++-14
CC: /usr/local/opt/llvm/bin/clang
CXX: /usr/local/opt/llvm/bin/clang++
run: |
mkdir build
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release .
Expand Down

0 comments on commit f201234

Please sign in to comment.