-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (47 loc) · 1.19 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
nim:
- '2.0.x'
- 'stable'
- devel
os:
- ubuntu-latest
# - macOS-latest
julia:
- '1.10'
- '1.11'
- 'lts'
steps:
- uses: actions/checkout@v4
- name: Setup nim
uses: jiro4989/setup-nim-action@v2
with:
use-nightlies: true
nim-version: ${{ matrix.nim }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: "install_julia"
id: install_julia
uses: julia-actions/setup-julia@latest
with:
show-versioninfo: 'true'
arch: ${{ runner.arch }}
version: ${{ matrix.julia }}
- run: nimble install -y
env:
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/..
- run: nimble test
env:
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/..
- run: nimble runexamples
env:
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/..