File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed
Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change 2222 build_type : " Release" , cc: "cl", cxx: "cl",
2323 environment_script : " C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
2424 }
25- # - {
26- # name: "Windows -- MinGW", artifact: "Windows-MinGW.tar.xz",
27- # os: windows-latest,
28- # build_type: "Release", cc: "x86_64-w64-mingw32-gcc", cxx: "x86_64-w64-mingw32-g++"
29- # }
3025 - {
3126 name : " Ubuntu" , artifact: "Linux.tar.xz",
3227 os : ubuntu-latest,
4843
4944 - name : Prepare Python environment
5045 run : >-
51- pip install setuptools wheel cython pytest
46+ pip install setuptools wheel cython==0.29.* pytest
5247
5348 - name : Install dependencies on Windows
5449 if : startsWith(matrix.config.name, 'Windows')
8075 cmake \
8176 -DCMAKE_CC_COMPILER=${{matrix.config.cc}} \
8277 -DCMAKE_CXX_COMPILER=${{matrix.config.cxx}} \
83- -DBUILD_TESTS=ON \
8478 -DBUILD_INTERFACE_C=ON \
8579 -DBUILD_INTERFACE_PYTHON=ON \
8680 -DTEST_OPENMP=OFF \
9488 mkdir instdir
9589 mkdir build
9690 cd build
97- if [[ "${{matrix.config.name}}" == "Windows -- MinGW" ]]; then
98- cmake -G "MinGW Makefiles" \
99- -DTEST_OPENMP=OFF \
100- -DBUILD_INTERFACE_C=ON \
101- -DBUILD_EXAMPLES=OFF \
102- -DCMAKE_INSTALL_PREFIX=../instdir \
103- ..
104- else
105- cmake .. -DTEST_OPENMP=OFF -DBUILD_INTERFACE_C=ON -DBUILD_INTERFACE_PYTHON=ON -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=../instdir
106- fi
107-
91+ cmake .. -DTEST_OPENMP=OFF -DBUILD_INTERFACE_C=ON -DBUILD_INTERFACE_PYTHON=ON -DBUILD_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=../instdir
92+
10893 - name : Build
10994 shell : bash
11095 run : |
You can’t perform that action at this time.
0 commit comments