Skip to content

Commit c0a11a0

Browse files
committed
add ci for 1.6.6 and 2.x
1 parent ba16eb0 commit c0a11a0

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,29 @@ on: [push, pull_request]
33
jobs:
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

0 commit comments

Comments
 (0)