Skip to content

Commit 149d70d

Browse files
committed
test
1 parent c398597 commit 149d70d

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/ci.yml

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

94-
- name: Build C++ Demos on ${{ matrix.os }} with CMake (Linux/MacOS)
95-
if: runner.os != 'Windows'
94+
- name: Generate C++ Build Systems on ${{ matrix.os }}
9695
timeout-minutes: 5
9796
working-directory: ice-demos/cpp
98-
run:
99-
find . -name CMakeLists.txt -execdir cmake -B build -S . ';'
100-
find . -name CMakeLists.txt -execdir cmake --build build --config Release ';'
97+
run: find . -name CMakeLists.txt -execdir cmake -B build -S . \;
10198

102-
- name: Build C++ Demos on ${{ matrix.os }} with CMake (Windows)
103-
if: runner.os == 'Windows'
104-
timeout-minutes: 5
99+
- name: Build C++ Demos on ${{ matrix.os }}
100+
timeout-minutes: 20
105101
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-
}
102+
run: find . -name CMakeLists.txt -type d -execdir cmake --build build -- \;
111103

112104
- name: Build C# Demos on ${{ matrix.os }}
113105
timeout-minutes: 20

0 commit comments

Comments
 (0)