-
Notifications
You must be signed in to change notification settings - Fork 22
37 lines (28 loc) · 841 Bytes
/
ci.yaml
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
34
35
36
37
# https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow
# https://github.com/jiro4989/setup-nim-action
name: ci
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0' # at 00:00 every Sunday
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
nim: ['1.2.0', 'devel']
name: Nim ${{ matrix.nim }}
steps:
- uses: actions/checkout@master
- name: Setup nim
uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.nim }}
- name: nimble test
run: nimble install -y
- name: nimble test
run: nimble list -i
- name: nimble test
run: nimble tests -y
# TODO: build docs via `nim doc --docSeeSrcUrl:https://github.com/AUTHOR/MYPROJECT/blob/master --project MYFILE.nim`?