From 275969b4b2c8cb6be710a37b37d7594c97c8d311 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Fri, 3 Oct 2025 22:17:14 +0200 Subject: [PATCH] github actions for testing --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..15e73c2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: C Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y gcc make libcriterion-dev + + - name: Build and run tests + run: make test