Skip to content

Commit

Permalink
Set the compiler via the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Sep 25, 2024
1 parent 6b923d9 commit a1bda06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
defaults:
run:
shell: bash
env:
CXX: ${{matrix.platform.env}}

strategy:
fail-fast: false
Expand All @@ -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" }
Expand Down

0 comments on commit a1bda06

Please sign in to comment.