From 72ea73de8c28721e11fe14f0f92cc84a3740f68c Mon Sep 17 00:00:00 2001 From: royna2544 Date: Sun, 17 Nov 2024 17:27:12 +0900 Subject: [PATCH] workflow: Use clang, gcc is weird --- .github/workflows/macos_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos_test.yml b/.github/workflows/macos_test.yml index 1364dc0b..91710ff6 100644 --- a/.github/workflows/macos_test.yml +++ b/.github/workflows/macos_test.yml @@ -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 llvm lld 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 .