File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,17 +3,29 @@ on: [push, pull_request]
33jobs :
44 ubuntu :
55 runs-on : ubuntu-latest
6+ strategy :
7+ fail-fast : false
8+ matrix :
9+ nim-version : ["2.x", "1.6.6"]
610 steps :
711 - uses : actions/checkout@v5
812 - run : sudo apt-get update && sudo apt-get install libhts-dev bcftools
9- - run : echo /home/linuxbrew/.linuxbrew/bin >> $GITHUB_PATH
10- - run : brew install nim
13+ - uses : jiro4989/setup-nim-action@v2
14+ with :
15+ nim-version : ${{ matrix.nim-version }}
1116 - run : nimble test
1217 mac :
1318 runs-on : macos-latest
19+ strategy :
20+ fail-fast : false
21+ matrix :
22+ nim-version : ["2.x", "1.6.6"]
1423 steps :
1524 - uses : actions/checkout@v5
16- - run : brew install nim htslib bcftools
25+ - uses : jiro4989/setup-nim-action@v2
26+ with :
27+ nim-version : ${{ matrix.nim-version }}
28+ - run : brew install htslib bcftools
1729 - run : sed -i "" -e "s/nim c/nim c --passL:-Wl,-rpath,\/opt\/homebrew\/opt\/htslib\/lib/" slivar.nimble
1830 - run : sed -i "" -e "s/nim c/nim c --passL:-Wl,-rpath,\/opt\/homebrew\/opt\/htslib\/lib/" tests/functional-tests.sh
1931 - run : nimble test
You can’t perform that action at this time.
0 commit comments