From f4aa93e1da281919bb1b8dc373412b37d7e3726b Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 5 Jan 2025 15:35:49 +0100 Subject: [PATCH] Add experimental linux build --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d544331b..421cf037 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,3 +53,36 @@ jobs: - name: CMake Test run: cd build/${{matrix.preset}} && ctest --verbose + + build-linux: + name: Build Linux + runs-on: ubuntu-24.04 + strategy: + fail-fast: false + matrix: + configuration: + - Debug + - Release + include: + - configuration: Debug + preset: debug + - configuration: Release + preset: release + steps: + - name: Checkout Source + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Install Ninja + uses: seanmiddleditch/gha-setup-ninja@v5 + + - name: CMake Build + run: cmake --workflow --preset=${{matrix.preset}} + + - name: Upload Artifacts + uses: actions/upload-artifact@v4 + with: + name: Linux ${{matrix.configuration}} Artifacts + path: | + build/${{matrix.preset}}/artifacts/*