From f577e12101b434ffc1174c4ae342b675abff7072 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Wed, 3 Mar 2021 10:34:13 +0100 Subject: [PATCH] Build and test with Github actions --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..5c9e540 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] + 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