@@ -13,113 +13,38 @@ jobs:
1313 strategy :
1414 fail-fast : true
1515 matrix :
16- build_type : [Release, Debug]
16+ build_type :
17+ - Release
18+ # - Debug
1719 sys :
1820 - clangarm64
19- - mingw64
21+ # - mingw64
2022 include :
21- - sys : mingw64
22- env : x86_64
23- pkg : x86_64
24- os : windows-2025
23+ # - sys: mingw64
24+ # env: x86_64
25+ # pkg: x86_64
26+ # os: windows-2025
2527 - sys : clangarm64
2628 env : aarch64
2729 pkg : clang-aarch64
2830 os : windows-11-arm
2931
3032 steps :
31- - uses : actions/checkout@v6
3233 - uses : msys2/setup-msys2@v2
3334 with :
3435 msystem : ${{matrix.sys}}
3536 # Running Ninja requires cmd.exe to be in the PATH
3637 path-type : minimal
3738 install : >-
38- mingw-w64-${{matrix.pkg}}-boost
39- mingw-w64-${{matrix.pkg}}-cmake
40- mingw-w64-${{matrix.pkg}}-eigen3
41- mingw-w64-${{matrix.pkg}}-fmt
42- mingw-w64-${{matrix.pkg}}-cc
43- mingw-w64-${{matrix.pkg}}-lld
44- mingw-w64-${{matrix.pkg}}-ninja
45- mingw-w64-${{matrix.pkg}}-opencv
46- mingw-w64-${{matrix.pkg}}-pybind11
4739 mingw-w64-${{matrix.pkg}}-python
48- mingw-w64-${{matrix.pkg}}-python-jinja
49- mingw-w64-${{matrix.pkg}}-python-lxml
50- mingw-w64-${{matrix.pkg}}-python-numpy
5140 mingw-w64-${{matrix.pkg}}-python-pillow
52- mingw-w64-${{matrix.pkg}}-python-pip
53- mingw-w64-${{matrix.pkg}}-python-pygments
54- mingw-w64-${{matrix.pkg}}-python-pytest
55- mingw-w64-${{matrix.pkg}}-python-pytest-xdist
56- mingw-w64-${{matrix.pkg}}-python-sphinx
57-
58- - name : Setup Coverage Dependencies
59- if : matrix.build_type == 'Debug'
60- run : |
61- pip install 'gcovr==8.2'
62-
63- - name : Setup Dependencies
64- run : |
65- pip install -r docs/requirements.txt --prefer-binary
66-
67- - name : Setup Build Environment
68- run : |
69- echo "Python_ROOT=$(dirname $(dirname $(which python)))" >> $GITHUB_ENV
70-
71- - name : Setup Compiler Environment
72- run : |
73- echo "CXX=${{matrix.env}}-w64-mingw32-c++" >> $GITHUB_ENV
74-
75- - name : Setup Debug Environment
76- if : ${{matrix.build_type == 'Debug'}}
77- run : |
78- echo 'CXXFLAGS=--coverage' >> $GITHUB_ENV
79-
80- - name : Configure
81- env :
82- CXXFLAGS : -fuse-ld=lld -Wall -Wextra -Wpedantic -Wsign-conversion -Wtautological-compare -Wundef -Wfloat-equal -Werror ${{env.CXXFLAGS}}
83- run : |
84- cmake -S . -B build_${{matrix.build_type}}/ \
85- -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
86- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF \
87- -DCMAKE_REQUIRE_FIND_PACKAGE_pybind11=ON \
88- -G Ninja
8941
9042 - name : Build
9143 run : |
92- cmake --build build_${{matrix.build_type}}/ \
93- --config ${{matrix.build_type}}
94-
95- - name : Test
96- run : |
97- ctest --test-dir build_${{matrix.build_type}} \
98- -j$(nproc) \
99- --output-on-failure
100-
101- - name : Generate Documentation
102- run : |
103- cmake --build build_${{matrix.build_type}}/ \
104- --config ${{matrix.build_type}} \
105- --target sphinx
106-
107- - name : Generate Coverage
108- if : matrix.build_type == 'Debug'
109- run : |
110- cd build_${{matrix.build_type}}
111- gcovr -r .. . -s --cobertura coverage.xml
112-
113- - name : Upload Coverage to Codecov
114- if : ${{matrix.build_type == 'Debug'}}
115- uses : codecov/codecov-action@v5
116- with :
117- token : ${{ secrets.CODECOV_TOKEN }}
118- files : build_${{matrix.build_type}}/coverage.xml
119- fail_ci_if_error : true
120- verbose : true
44+ python -c 'from PIL import Image'
12145
12246 build-msvc :
47+ if : false
12348 name : ${{matrix.msvc}}-${{matrix.arch}}-${{matrix.build_type}}-Python-${{matrix.python}}
12449 runs-on : ${{matrix.os}}
12550 defaults :
@@ -335,6 +260,7 @@ jobs:
335260 --target sphinx
336261
337262 build-wheel :
263+ if : false
338264 name : Python-${{matrix.python}}-${{matrix.build_type}}-${{matrix.arch}}-wheel
339265 runs-on : ${{matrix.os}}
340266 defaults :
0 commit comments