From 9a60c23811b9e78ae2ef86cdf009f4fdffd896e4 Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 19 Jun 2024 13:44:34 +0200 Subject: 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 --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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/ -- cgit v1.2.3