From 95aa98a21830d4e8041488844ea873838fa237a2 Mon Sep 17 00:00:00 2001 From: David Rubin Date: Sat, 11 Jan 2025 17:15:33 -0800 Subject: [PATCH] add some basic CI --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..1fa2009 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +on: + pull_request: + push: + branches: + - master + +jobs: + test: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: setup-zig + uses: mlugg/setup-zig@v1 + with: + version: 0.13.0 + + - name: build + run: zig build + + - name: test + run: zig build test --summary all \ No newline at end of file