Skip to content

Commit 47b0378

Browse files
committed
Use one matrix command for all targets
Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
1 parent 04504ab commit 47b0378

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/misc.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ jobs:
2020
timeout-minutes: 10
2121
strategy:
2222
matrix:
23-
os: [ ubuntu-latest, macos-latest ]
2423
include:
2524
- os: windows-latest
26-
windows: true
25+
script: ".\\tests\\sign-and-verify-win.bat"
26+
- os: ubuntu-latest
27+
script: ./tests/sign-and-verify.sh
28+
- os: macos-latest
29+
script: ./tests/sign-and-verify.sh
2730
runs-on: ${{ matrix.os }}
2831
steps:
2932
- uses: actions/checkout@v4
@@ -34,8 +37,4 @@ jobs:
3437
- name: Check if the example compiles
3538
run: cargo check --example key-storage
3639
- name: Run integration tests
37-
run: ./tests/sign-and-verify.sh
38-
if: ${{ ! matrix.windows }}
39-
- name: Run integration tests
40-
run: ".\\tests\\sign-and-verify-win.bat"
41-
if: ${{ matrix.windows }}
40+
run: ${{ matrix.script }}

0 commit comments

Comments
 (0)