diff options
author | Jan <sentrycraft123@gmail.com> | 2024-06-19 13:44:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 13:44:34 +0200 |
commit | 9a60c23811b9e78ae2ef86cdf009f4fdffd896e4 (patch) | |
tree | b48b641a20ee8939c87fb1cb41f6bb44f410fa9d /.github/workflows | |
parent | b02e6097c471b8bf196a2fce4eb22e4b0bae4e11 (diff) | |
download | NorthstarLauncher-9a60c23811b9e78ae2ef86cdf009f4fdffd896e4.tar.gz NorthstarLauncher-9a60c23811b9e78ae2ef86cdf009f4fdffd896e4.zip |
Add clang CI (#721)
Builds Northstar with the Microsoft provided clang-cl build next to MSVC
Release builds are unchanged and still only built with MSVC
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20870278..413ecb9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,14 @@ env: jobs: build: runs-on: windows-2022 + strategy: + matrix: + config: + - { name: "MSVC", cc: cl } + - { name: "LLVM", cc: clang-cl } + env: + CC: ${{ matrix.config.cc }} + CXX: ${{ matrix.config.cc }} steps: - name: Checkout uses: actions/checkout@v4 @@ -33,7 +41,7 @@ jobs: - name: Upload Build Artifact uses: actions/upload-artifact@v3 with: - name: NorthstarLauncher-${{ steps.extract.outputs.commit }} + name: NorthstarLauncher-${{ matrix.config.name }}-${{ steps.extract.outputs.commit }} path: | game/ |