Add CI workflow (#3)

This commit is contained in:
Eric 2024-02-09 10:37:23 +11:00 committed by GitHub
parent 1b77afcbf1
commit 42b7d91eb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

21
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
nim: [1.6.16, stable]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Nim
uses: iffy/install-nim@v3
with:
version: ${{ matrix.nim }}
- name: Build
run: nimble install -y
- name: Test
run: nimble test -y