From ac257548eabc6736df0835bb67e28c167a8b24b1 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Thu, 25 Nov 2021 09:33:40 +0100 Subject: [PATCH] Add CI --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..ca2e3e4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + nim: [stable, 1.4.8, 1.2.14] + steps: + - uses: actions/checkout@v2 + - uses: iffy/install-nim@v3 + with: + version: ${{ matrix.nim }} + - name: Build + run: nimble install -y + - name: Test + run: nimble test -y