Skip to content

Commit ca7057e

Browse files
kevinAlbskou
andauthored
use runner.os
To allows future Windows additions to the test matrix. Co-authored-by: Sutou Kouhei <[email protected]>
1 parent c304962 commit ca7057e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
build/libutf8proc.*
3535
build/Debug/utf8proc.*
3636
- name: Test Consuming (Windows)
37-
if: ${{ matrix.os == 'windows-latest' }}
37+
if: runner.os = 'Windows'
3838
run: |
3939
cmake --install build --prefix tmp/install --config Debug
4040
cmake -S test/app -B test/app/build -DCMAKE_INSTALL_PREFIX=tmp/install
4141
cmake --build test/app/build
4242
$Env:PATH = "$PWD\tmp\install\bin;$Env:PATH"
4343
test/app/build/Debug/app.exe
4444
- name: Test Consuming (Unix)
45-
if: ${{ matrix.os != 'windows-latest' }}
45+
if: runner.os != 'Windows'
4646
run: |
4747
cmake --install build --prefix tmp/install
4848
cmake -S test/app -B test/app/build -DCMAKE_INSTALL_PREFIX=tmp/install

0 commit comments

Comments
 (0)