aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-09-03 21:51:13 +0800
committerYuqian Yang <crupest@crupest.life>2025-09-03 21:51:13 +0800
commit2fc7b3072da1f5b7e2694fc89626ee1024529823 (patch)
tree01f948d60ef09d80fdf8bf8474f382c042356885
parent4e377b298ff126453270139cb498a43d12f6382d (diff)
downloadcru-2fc7b3072da1f5b7e2694fc89626ee1024529823.tar.gz
cru-2fc7b3072da1f5b7e2694fc89626ee1024529823.tar.bz2
cru-2fc7b3072da1f5b7e2694fc89626ee1024529823.zip
Add linux ci.
-rw-r--r--.github/workflows/ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5f03b3cb..8992bfa7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -60,3 +60,22 @@ jobs:
working-directory: build
run: |
ctest -C Debug -T test --output-on-failure
+
+ linux-build:
+ name: Linux Build
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v5
+ with:
+ submodules: true
+
+ - name: Build
+ run: |
+ cmake -DCMAKE_BUILD_TYPE=Debug -S. -Bbuild -G Ninja
+ cmake --build build --config Debug --target all
+
+ - name: Test
+ working-directory: build
+ run: |
+ ctest -C Debug -T test --output-on-failure