Skip to content

Commit 75f8279

Browse files
committed
Merge branch 'master' of https://github.com/OpenByteDev/fn-ptr
2 parents 7e794f2 + 342be71 commit 75f8279

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,22 @@ jobs:
5353
target: ${{ matrix.target }}
5454

5555
- name: Build
56+
shell: pwsh
5657
run: |
57-
if [ "${{ matrix.toolchain }}" = "stable" ]; then
58-
cargo build --target ${{ matrix.target }} --no-default-features
59-
else
60-
cargo build --target ${{ matrix.target }} --all-features
61-
fi
58+
if ($env:MATRIX_TOOLCHAIN -eq "stable") {
59+
cargo build --target $env:MATRIX_TARGET --no-default-features
60+
} else {
61+
cargo build --target $env:MATRIX_TARGET --all-features
62+
}
6263
6364
- name: Test
65+
shell: pwsh
6466
run: |
65-
if [ "${{ matrix.toolchain }}" = "stable" ]; then
66-
cargo test --target ${{ matrix.target }} --no-default-features
67-
else
68-
cargo test --target ${{ matrix.target }} --all-features
69-
fi
67+
if ($env:MATRIX_TOOLCHAIN -eq "stable") {
68+
cargo test --target $env:MATRIX_TARGET --no-default-features
69+
} else {
70+
cargo test --target $env:MATRIX_TARGET --all-features
71+
}
7072
7173
documentation:
7274
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)