diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..48e07dd --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: C CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Configure Cmake + run: | + mkdir build + cd build + cmake .. + - name: Build + run: cmake --build . + - name: Test + run: ctest --verbose