Skip to content

Commit c398597

Browse files
committed
testing
1 parent 067bc1f commit c398597

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,23 @@ jobs:
9191
working_directory: ice-demos/cpp
9292
msbuild_project: msbuild/ice.proj
9393

94-
- name: Build C++ Demos on ${{ matrix.os }} with CMake
94+
- name: Build C++ Demos on ${{ matrix.os }} with CMake (Linux/MacOS)
95+
if: runner.os != 'Windows'
9596
timeout-minutes: 5
9697
working-directory: ice-demos/cpp
9798
run:
98-
find . -name CMakeLists.txt -execdir cmake -B build -S . \;
99-
find . -name CMakeLists.txt -execdir cmake --build build --config Release \;
99+
find . -name CMakeLists.txt -execdir cmake -B build -S . ';'
100+
find . -name CMakeLists.txt -execdir cmake --build build --config Release ';'
101+
102+
- name: Build C++ Demos on ${{ matrix.os }} with CMake (Windows)
103+
if: runner.os == 'Windows'
104+
timeout-minutes: 5
105+
working-directory: ice-demos/cpp
106+
run: |
107+
Get-ChildItem -Recurse -Filter CMakeLists.txt | ForEach-Object {
108+
cmake -B build -S $_.DirectoryName
109+
cmake --build build --config Release
110+
}
100111
101112
- name: Build C# Demos on ${{ matrix.os }}
102113
timeout-minutes: 20

0 commit comments

Comments
 (0)