Add CI workflow

This commit is contained in:
Eric 2024-02-09 10:33:58 +11:00
parent 1b77afcbf1
commit adda3d02af
No known key found for this signature in database

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