-
-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (31 loc) · 717 Bytes
/
ci.yml
File metadata and controls
33 lines (31 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: "Build"
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
os:
- windows-latest
- macos-latest
- ubuntu-latest
nimversion:
- stable
- devel
name: ${{ matrix.os }} - ${{ matrix.nimversion }}
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: iffy/install-nim@v3.2.0
with:
version: ${{ matrix.nimversion }}
- run: nim --version
- name: Refresh packages + install dependencies
run: |
nimble refresh
nimble install -d
- name: Run all tests
run: nimble test