File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments