From 2fc7b3072da1f5b7e2694fc89626ee1024529823 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Wed, 3 Sep 2025 21:51:13 +0800 Subject: Add linux ci. --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 -- cgit v1.2.3