Skip to content

Commit eb1b6dc

Browse files
authored
run ci.yml on multiple Nim version
1 parent 97b8440 commit eb1b6dc

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,33 @@ on:
99

1010
jobs:
1111
tests:
12+
runs-on: ubuntu-latest
1213
strategy:
1314
matrix:
14-
os: [ubuntu-latest]
15-
# os: [ubuntu-latest, macos-latest, windows-latest]
15+
nim:
16+
- '2.0.x'
17+
- 'stable'
18+
- devel
1619

17-
runs-on: ${{ matrix.os }}
18-
# runs-on: ubuntu-latest
1920
steps:
20-
- uses: actions/checkout@v2
21-
- name: "install_nim"
22-
id: install_nim
23-
uses: iffy/[email protected]
21+
- uses: actions/checkout@v4
22+
- name: Setup nim
23+
uses: jiro4989/setup-nim-action@v2
24+
with:
25+
use-nightlies: true
26+
nim-version: ${{ matrix.nim }}
27+
repo-token: ${{ secrets.GITHUB_TOKEN }}
28+
2429
- name: "install_julia"
2530
id: install_julia
2631
uses: julia-actions/setup-julia@latest
2732
with:
2833
show-versioninfo: 'true'
34+
2935
- run: nimble install -y
3036
env:
3137
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/..
38+
3239
- run: nimble test
3340
env:
3441
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/..

0 commit comments

Comments
 (0)