From 3537ac672eb33b4a10cb6b81efe3b84fc3369cab Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Thu, 2 Jan 2025 08:13:53 -0500 Subject: [PATCH] Move to Clang on ninja; move to Ninja everywhere --- .github/workflows/build-plugin.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-plugin.yml b/.github/workflows/build-plugin.yml index 50e6aff..bb94488 100644 --- a/.github/workflows/build-plugin.yml +++ b/.github/workflows/build-plugin.yml @@ -23,14 +23,15 @@ jobs: include: - os: windows-latest name: windows-x64 - cmake_args: -G"Visual Studio 17 2022" -A x64 + cmake_args: -DCMAKE_CXX_COMPLIER=clang++ -DCMAKE_C_COMPILER=clang -GNinja - os: macos-latest name: macos - cmake_args: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" + cmake_args: -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -GNinja - os: ubuntu-latest name: linux-x64 + cmake_args: -GNinja steps: - name: Checkout code @@ -42,6 +43,9 @@ jobs: if: runner.os == 'macOS' run: sudo xcode-select -switch /Applications/Xcode_15.1.app + - name: Install Ninja + uses: seanmiddleditch/gha-setup-ninja@master + - uses: apple-actions/import-codesign-certs@v3 if: runner.os == 'macOS' && github.event_name != 'pull_request' with: