File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ image : ubuntu/latest
2+ packages :
3+ - curl
4+ - unzip
5+ sources :
6+ - https://git.sr.ht/~ruivieira/matplotnim
7+ tasks :
8+ - setup : |
9+ sudo apt-get update
10+ sudo apt-get install -y curl gcc
11+ export CHOOSENIM_NO_ANALYTICS=1
12+ curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y
13+ /home/build/.nimble/bin/choosenim stable
14+ - test : |
15+ export PATH=$HOME/.nimble/bin:$PATH
16+ cd matplotnim
17+ nim --version
18+ nimble test
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push]
4+ jobs :
5+ linux :
6+ strategy :
7+ matrix :
8+ nim-channel : [stable, devel]
9+ runs-on : ubuntu-latest
10+ container : debian:buster
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Prepare
14+ run : |
15+ apt-get update
16+ apt-get install -y curl gcc
17+ export CHOOSENIM_NO_ANALYTICS=1
18+ curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y
19+ export PATH=$HOME/.nimble/bin:$PATH
20+ choosenim ${{ matrix.nim-channel }}
21+
22+ - name : Test
23+ run : |
24+ export PATH=$HOME/.nimble/bin:$PATH
25+ nim --version
26+ nimble test
You can’t perform that action at this time.
0 commit comments