Skip to content

Commit 55144d2

Browse files
committed
CI: run tests only if the platform matches
1 parent e90ad23 commit 55144d2

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/windows.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,5 @@ jobs:
3434
run: cmake --install _build --config ${{ matrix.config }} --prefix ${GITHUB_WORKSPACE}/_built
3535

3636
- name: Run tests
37-
run: |
38-
if ($env:PROCESSOR_ARCHITECTURE -match "${{ matrix.arch.env }}") {
39-
ctest --test-dir _build --build-config ${{ matrix.config }}
40-
}
37+
if: $env:PROCESSOR_ARCHITECTURE -match "${{ matrix.arch.env }}"
38+
run: ctest --test-dir _build --build-config ${{ matrix.config }}

0 commit comments

Comments
 (0)