Add CI
This commit is contained in:
parent
8184529abd
commit
ac257548ea
|
@ -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
|
Loading…
Reference in New Issue