From b8c58d29763b23546fd3d9e43c76081056140d4b Mon Sep 17 00:00:00 2001 From: Ricardo Antunes Date: Wed, 9 Oct 2024 14:27:41 +0200 Subject: [PATCH] fix(ci): stop using homebrew clang in macOS action We can't compile Miniaudio using Homebrew clang for some reason. We had the same exact compiling error as reported in https://github.com/RustAudio/coreaudio-sys/issues/96 --- .github/workflows/build-engine-macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-engine-macos.yml b/.github/workflows/build-engine-macos.yml index 81a1dd69cf..8c2e39b499 100644 --- a/.github/workflows/build-engine-macos.yml +++ b/.github/workflows/build-engine-macos.yml @@ -29,7 +29,7 @@ jobs: - name: Install dependencies run: | - brew install glfw llvm@14 ccache + brew install glfw ccache python -m pip install jinja2 - name: Get timestamp @@ -49,7 +49,7 @@ jobs: ccache- - name: Configure CMake - run: CC=$(brew --prefix llvm@14)/bin/clang CXX=$(brew --prefix llvm@14)/bin/clang++ cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGLFW_USE_SUBMODULE=OFF -DBUILD_CORE_SAMPLES=ON -DBUILD_CORE_TESTS=ON -DBUILD_ENGINE_TESTS=ON -DBUILD_ENGINE_SAMPLES=ON -DUSE_CLANG_TIDY=OFF + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGLFW_USE_SUBMODULE=OFF -DBUILD_CORE_SAMPLES=ON -DBUILD_CORE_TESTS=ON -DBUILD_ENGINE_TESTS=ON -DBUILD_ENGINE_SAMPLES=ON -DUSE_CLANG_TIDY=OFF shell: bash - name: CCache Prolog