From 81025ba209cf65a784b525d49d7135d316b062cd Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Wed, 1 Oct 2025 11:17:04 +0900 Subject: [PATCH] Add CI --- .github/workflows/test.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..8e68821 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,24 @@ +name: Test +on: + - push + - pull_request +concurrency: + group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} + cancel-in-progress: true +jobs: + ubuntu: + name: Ubuntu + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@v5 + - name: CMake + run: | + cmake \ + -S . \ + -B build \ + -GNinja \ + -DCMAKE_BUILD_TYPE=Release + - name: Build + run: | + cmake --build build