Skip to content

Commit 75c1cfd

Browse files
committed
test
1 parent 73d9af1 commit 75c1cfd

File tree

3 files changed

+15
-85
lines changed

3 files changed

+15
-85
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
lint:
7+
if: false
78
runs-on: ubuntu-24.04
89
container: sergiud/hogpp:lint-18
910
defaults:
@@ -20,6 +21,7 @@ jobs:
2021
fdfind -g '*.[ch]pp' -x clang-format-18 --dry-run --Werror
2122
2223
build-native:
24+
if: false
2325
name: ${{matrix.os}}-GCC-${{matrix.build_type}}
2426
runs-on: ${{matrix.os}}
2527
defaults:

.github/workflows/macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
build-native:
7+
if: false
78
name: ${{matrix.os}}-AppleClang-${{matrix.build_type}}
89
runs-on: ${{matrix.os}}
910
defaults:
@@ -93,6 +94,7 @@ jobs:
9394
verbose: true
9495

9596
build-wheel:
97+
if: false
9698
name: Python-${{matrix.python}}-${{matrix.build_type}}-wheel
9799
runs-on: macos-15
98100
defaults:

.github/workflows/windows.yml

Lines changed: 11 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)