File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -129,12 +129,21 @@ jobs:
129129 set CXX=${{ matrix.compiler }}
130130 cmake .. -GNinja -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%/Library -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_STANDARD=${{ matrix.cxx_std }} -DBUILD_PYTHON_INTERFACE:BOOL=ON -DPYTHON_SITELIB=%CONDA_PREFIX%/Lib/site-packages -DPYTHON_EXECUTABLE=%CONDA_PREFIX%/python.exe -DOpenMP_ROOT=%CONDA_PREFIX% -DBUILD_WITH_OPENMP_SUPPORT:BOOL=ON -DLINK_PYTHON_INTERFACE_TO_OPENMP:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON -DINSTALL_DOCUMENTATION:BOOL=ON
131131
132- - name : Build [Conda]
132+ - name : Build [Conda/Linux&macOS]
133+ if : contains(matrix.os, 'macos-') || contains(matrix.os, 'ubuntu')
133134 shell : bash -l {0}
134135 run : |
135136 cd build
136137 cmake --build . --config ${{ matrix.build_type }} -v -j 1
137138
139+ - name : Build [Conda/Windows]
140+ if : contains(matrix.os, 'windows-')
141+ # It's better to use CMD to have all MSVC variables setup
142+ shell : cmd /C CALL {0}
143+ run : |
144+ cd build
145+ cmake --build . --config ${{ matrix.build_type }} -v -j 1
146+
138147 - name : Build documentation [Conda]
139148 shell : bash -l {0}
140149 run : |
You can’t perform that action at this time.
0 commit comments