From a1bda0623e6453f37c35d8f1d282ada09afd1fe2 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Tue, 24 Sep 2024 20:14:55 -0600 Subject: [PATCH] Set the compiler via the environment --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1c5643..85bde61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: defaults: run: shell: bash + env: + CXX: ${{matrix.platform.env}} strategy: fail-fast: false @@ -23,7 +25,7 @@ jobs: - { name: Windows Clang, os: windows-latest, flags: -GNinja -DCMAKE_CXX_COMPILER=clang++ } - { name: Linux GCC, os: ubuntu-latest } - { name: Linux Clang, os: ubuntu-latest, flags: -DCMAKE_CXX_COMPILER=clang++ } - - { name: macOS GCC, os: macos-latest, flags: -DCMAKE_CXX_COMPILER=g++-12 } + - { name: macOS GCC, os: macos-latest, env: CXX=g++-12 } - { name: macOS Clang, os: macos-latest, flags: -GXcode } type: - { name: Shared, flags: "ON" }