From dfe4e3cc4bdc5864ebc41da22a0fb1c67746455f Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Sat, 6 Mar 2021 10:54:11 +0100 Subject: [PATCH] Continuous integration with Github actions --- .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..966ccda --- /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.2.6] + 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