summaryrefslogtreecommitdiff
path: root/.github/workflows/linux-compile.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linux-compile.yml')
-rw-r--r--.github/workflows/linux-compile.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/linux-compile.yml b/.github/workflows/linux-compile.yml
index fb5019d94..7f0fe1a5f 100644
--- a/.github/workflows/linux-compile.yml
+++ b/.github/workflows/linux-compile.yml
@@ -7,6 +7,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ config: [Release, Debug]
steps:
- uses: actions/checkout@v4
with:
@@ -39,15 +42,15 @@ jobs:
sudo make install
- name: Build
run: |
- cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release
- cmake --build build-cmake -j
+ cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=${{ matrix.config }}
+ cmake --build build-cmake -j --config ${{ matrix.config }}
- name: Create Package
run: |
- mkdir spaghetti-release
- mv build-cmake/Spaghettify spaghetti-release/
+ mkdir spaghetti-${{ matrix.config }}
+ mv build-cmake/Spaghettify spaghetti-${{ matrix.config }}/
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with:
- name: spaghetti-linux-x64
- path: spaghetti-release
+ name: spaghetti-linux-x64-${{ matrix.config }}
+ path: spaghetti-${{ matrix.config }}
retention-days: 1