Skip to content

Commit f9fa3f5

Browse files
authored
Update ci.yml
1 parent 5904a9f commit f9fa3f5

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ jobs:
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,
@@ -48,7 +43,7 @@ jobs:
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')
@@ -80,7 +75,6 @@ jobs:
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 \
@@ -94,17 +88,8 @@ jobs:
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: |

0 commit comments

Comments
 (0)