Skip to content

Commit 4615a00

Browse files
committed
[CI] disable fail-fast and fix matrix.target -> matrix.os
1 parent 8ffc196 commit 4615a00

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
build:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
nim:
2223
- '1.6.x'
@@ -40,15 +41,15 @@ jobs:
4041
repo-token: ${{ secrets.GITHUB_TOKEN }}
4142

4243
- name: Setup MSYS2 (Windows)
43-
if: ${{matrix.target == 'windows'}}
44+
if: ${{matrix.os == 'windows'}}
4445
uses: msys2/setup-msys2@v2
4546
with:
4647
path-type: inherit
4748
update: true
4849
install: base-devel git mingw-w64-x86_64-toolchain
4950

5051
- name: Install dependencies (Windows)
51-
if: ${{matrix.target == 'windows'}}
52+
if: ${{matrix.os == 'windows'}}
5253
shell: msys2 {0}
5354
run: |
5455
pacman -Syu --noconfirm
@@ -62,14 +63,14 @@ jobs:
6263
nimble install -y
6364
6465
- name: Run tests (Linux & OSX)
65-
if: ${{matrix.target != 'windows'}}
66+
if: ${{matrix.os != 'windows'}}
6667
shell: bash
6768
run: |
6869
cd impulse
6970
nimble -y test
7071
7172
- name: Run tests (Windows)
72-
if: ${{matrix.target == 'windows'}}
73+
if: ${{matrix.os == 'windows'}}
7374
shell: msys2 {0}
7475
run: |
7576
cd impulse
@@ -78,7 +79,7 @@ jobs:
7879
- name: Build docs
7980
if: >
8081
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
81-
matrix.target == 'linux' && matrix.branch == 'devel'
82+
matrix.os == 'linux' && matrix.branch == 'devel'
8283
shell: bash
8384
run: |
8485
cd impulse
@@ -95,7 +96,7 @@ jobs:
9596
- name: Publish docs
9697
if: >
9798
github.event_name == 'push' && github.ref == 'refs/heads/master' &&
98-
matrix.target == 'linux' && matrix.branch == 'devel'
99+
matrix.os == 'linux' && matrix.branch == 'devel'
99100
uses: crazy-max/ghaction-github-pages@v1
100101
with:
101102
build_dir: impulse/docs

0 commit comments

Comments
 (0)