-
Notifications
You must be signed in to change notification settings - Fork 29
42 lines (38 loc) · 927 Bytes
/
ci.yml
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
38
39
40
41
42
on:
push:
pull_request:
schedule:
- cron: "0 19 * * *"
jobs:
test:
strategy:
matrix:
os:
# - windows-latest
# - macos-latest
- ubuntu-latest
name: ${{ matrix.os }} - ${{ matrix.nimversion }}
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Setup Nimble
uses: nim-lang/nimble/.github/actions/install_nimble@master
with:
os: linux
cpu: amd64
- name: Restore nimble dependencies from cache
id: nimble_deps
uses: actions/cache@v4
with:
path: ~/.nimble/
key: ${{ matrix.os }}-${{ env.cache_nonce }}
- name: Nimble Install
shell: bash
run: |
nimble -y install -l
- name: Nimble Test
shell: bash
run: |
nimble test