File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -133,13 +133,13 @@ jobs:
133133 git checkout --force ${{ matrix.version.name }}
134134 git submodule update --init --recursive
135135
136- - name : Configure CMake
137- run : |
138- if [[ " ${{ matrix.config.name }}" == "windows" ]]; then
139- cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBN_ALLOW_STUBS=ON -DPYTHON_COMMAND="python"
140- else
141- cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBN_ALLOW_STUBS=ON
142- fi
136+ - name : Configure CMake (Windows)
137+ if : matrix.config.name == 'windows'
138+ run : cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBN_ALLOW_STUBS=ON -DPYTHON_COMMAND="python"
139+
140+ - name : Configure CMake (Unix)
141+ if : matrix.config.name != 'windows'
142+ run : cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBN_ALLOW_STUBS=ON
143143
144144 - name : Build
145145 run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
You can’t perform that action at this time.
0 commit comments