File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -220,9 +220,11 @@ jobs:
220220 run : .venv/bin/pytest ./tests
221221
222222 bootstrap_build :
223- name : Bootstrap build
223+ name : Source only build on ${{ matrix.os }}
224224 needs : [lint]
225- runs-on : ubuntu-latest
225+ runs-on : ${{ matrix.os }}
226+ matrix :
227+ os : ["ubuntu-latest", "windows-latest"]
226228 steps :
227229 - uses : actions/checkout@v4
228230 - uses : actions/setup-python@v5
@@ -231,6 +233,7 @@ jobs:
231233 python-version : " 3.x"
232234
233235 - name : Remove cmake and ninja
236+ shell : bash
234237 run : |
235238 # Remove cmake and ninja
236239 set -euxo pipefail
@@ -246,11 +249,13 @@ jobs:
246249 run : pipx run --python '${{ steps.python.outputs.python-path }}' build --sdist
247250
248251 - name : Install dependencies
252+ if : runner.os == 'Linux'
249253 run : |
250254 sudo apt-get update
251255 sudo apt-get install -y --no-install-recommends libssl-dev
252256
253257 - name : Install SDist
258+ shell : bash
254259 env :
255260 CMAKE_ARGS : " -DBUILD_CMAKE_FROM_SOURCE:BOOL=OFF"
256261 CMAKE_BUILD_PARALLEL_LEVEL : " 4"
@@ -259,6 +264,7 @@ jobs:
259264 rm -rf dist
260265
261266 - name : Test installed SDist
267+ shell : bash
262268 run : python -m pip install pytest pytest-cov && pytest ./tests
263269
264270 check_dist :
You can’t perform that action at this time.
0 commit comments