@@ -42,22 +42,22 @@ jobs:
42
42
- uses : actions/checkout@v3
43
43
-
uses :
pre-commit/[email protected]
44
44
45
- check-doc :
46
- runs-on : ubuntu-22.04
45
+ # check-doc:
46
+ # runs-on: ubuntu-22.04
47
47
48
48
steps :
49
49
- uses : actions/checkout@v3
50
50
with :
51
51
submodules : true
52
52
53
- - uses : actions/setup-python@v4
54
- with :
55
- python-version : 3.8
56
- - name : Sphinx
57
- run : |
58
- pip --disable-pip-version-check install -e .
59
- pip --disable-pip-version-check install -r docs/requirements.txt
60
- cd docs && make clean html SPHINXOPTS="-W --keep-going"
53
+ # - uses: actions/setup-python@v5
54
+ # with:
55
+ # python-version: 3.8
56
+ # - name: Sphinx
57
+ # run: |
58
+ # pip --disable-pip-version-check install -e .
59
+ # pip --disable-pip-version-check install -r docs/requirements.txt
60
+ # cd docs && make clean html SPHINXOPTS="-W --keep-going"
61
61
62
62
build :
63
63
runs-on : ubuntu-22.04
67
67
submodules : recursive
68
68
fetch-depth : 0
69
69
70
- - uses : actions/setup-python@v4
70
+ - uses : actions/setup-python@v5
71
71
with :
72
72
python-version : 3.8
73
73
@@ -97,12 +97,12 @@ jobs:
97
97
- ' 3.11'
98
98
- ' 3.12'
99
99
- ' 3.13'
100
- architecture : [x86, x64]
101
- exclude :
102
- - os : macos-13
103
- architecture : x86
104
- - os : ubuntu-22.04
105
- architecture : x86
100
+ architecture : [x64]
101
+ # exclude:
102
+ # - os: macos-13
103
+ # architecture: x86
104
+ # - os: ubuntu-22.04
105
+ # architecture: x86
106
106
include :
107
107
- os : macos-14
108
108
python_version : 3.9
@@ -116,7 +116,7 @@ jobs:
116
116
with :
117
117
submodules : true
118
118
119
- - uses : actions/setup-python@v4
119
+ - uses : actions/setup-python@v5
120
120
with :
121
121
python-version : ${{ matrix.python_version }}
122
122
architecture : ${{ matrix.architecture }}
@@ -133,25 +133,32 @@ jobs:
133
133
key : ${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.python_version }}
134
134
variant : ccache
135
135
136
+ - name : Setup MSVC
137
+ uses : bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1
138
+ with :
139
+ architecture : x64
140
+ if : runner.os == 'Windows'
141
+
142
+ - name : Configure ccache for MSVC
143
+ shell : bash
144
+ # https://github.com/mesonbuild/meson/issues/10423
145
+ run : |
146
+ echo "CC=ccache.exe cl" >> $GITHUB_ENV
147
+ echo "CXX=ccache.exe cl" >> $GITHUB_ENV
148
+ if : runner.os == 'Windows'
149
+
136
150
- name : Install
137
151
shell : bash
138
152
working-directory : dist
139
153
run : python -m pip --disable-pip-version-check install *.whl
140
154
141
155
- name : Install test dependencies
142
- shell : bash
143
156
working-directory : tests
144
157
run : python -m pip --disable-pip-version-check install -r requirements.txt
145
158
146
159
- name : Test wheel
147
- shell : bash
148
- env :
149
- RPYBUILD_PARALLEL : 1
150
- RPYBUILD_STRIP_LIBPYTHON : 1
151
- RPYBUILD_CC_LAUNCHER : ccache
152
160
working-directory : tests
153
- run : |
154
- python run_tests.py
161
+ run : python run_tests.py
155
162
156
163
cross-build :
157
164
runs-on : ubuntu-latest
@@ -160,8 +167,8 @@ jobs:
160
167
max-parallel : ${{ fromJSON(needs.setup_concurrency.outputs.max-parallel).v }}
161
168
matrix :
162
169
container :
163
- - wpilib/roborio-cross-ubuntu:2024 -22.04-py312
164
- - wpilib/raspbian-cross-ubuntu:bullseye- 22.04-py312
170
+ - wpilib/roborio-cross-ubuntu:2025 -22.04-py313
171
+ - wpilib/raspbian-cross-ubuntu:2025-bookworm- 22.04-py313
165
172
166
173
container :
167
174
image : " ${{ matrix.container }}"
@@ -183,33 +190,23 @@ jobs:
183
190
name : dist
184
191
path : dist
185
192
186
- - name : Install setuptools
187
- run : |
188
- /build/venv/bin/build-pip --disable-pip-version-check install setuptools
189
- /build/venv/bin/cross-pip --disable-pip-version-check install setuptools
193
+ - name : Setup cross environment
194
+ uses : robotpy/build-actions/setup-cross-meson@semiwrap
190
195
191
196
- name : Install
192
197
working-directory : dist
193
198
run : |
194
- # install to both cross and build in case things get mixed up
195
199
/build/venv/bin/build-pip --disable-pip-version-check install *.whl
196
- /build/venv/bin/cross-pip --disable-pip-version-check install *.whl
197
200
198
201
- name : Install test dependencies
199
202
shell : bash
200
203
working-directory : tests
201
204
run : |
202
- # install to both cross and build in case things get mixed up
203
205
/build/venv/bin/build-pip --disable-pip-version-check install -r requirements.txt
204
- /build/venv/bin/cross-pip --disable-pip-version-check install -r requirements.txt
205
206
206
207
- name : Build cross wheel
207
- env :
208
- RPYBUILD_PARALLEL : 1
209
- RPYBUILD_STRIP_LIBPYTHON : 1
210
- RPYBUILD_CC_LAUNCHER : ccache
211
208
working-directory : tests/cpp
212
- run : /build/venv/bin/cross-python run_install.py wheel
209
+ run : /build/venv/bin/cross-python run_install.py --config-settings=setup-args=--cross-file=cross.txt
213
210
214
211
publish :
215
212
runs-on : ubuntu-latest
0 commit comments