-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (34 loc) · 913 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
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest]
# os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
# runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "install_nim"
id: install_nim
uses: iffy/install-nim@v3.2.2
- name: "install_julia"
id: install_julia
uses: julia-actions/setup-julia@latest
with:
show-versioninfo: 'true'
- 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 }}/..