Skip to content

Commit 377e429

Browse files
committed
ci: restore example builds for Windows/macOS
Signed-off-by: Henry Schreiner <[email protected]>
1 parent eb57817 commit 377e429

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ jobs:
332332

333333
docs:
334334
name: Docs on ubuntu-latest
335-
runs-on: ubuntu-latest
335+
runs-on: [ubuntu-latest, macos-latest, windows-latest]
336336
timeout-minutes: 15
337337

338338
steps:
@@ -348,12 +348,14 @@ jobs:
348348
python-versions: "3.12"
349349

350350
- name: Linkcheck
351+
if: runner.os == 'Linux'
351352
run: nox -s docs -- -b linkcheck
352353

353354
- name: Manpage
354355
run: nox -s docs -- -b man -W
355356

356357
- name: Build docs with warnings as errors
358+
if: runner.os == 'Linux'
357359
run: nox -s docs -- -W
358360

359361
- name: Check examples

docs/examples/getting_started/c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ project(${SKBUILD_PROJECT_NAME} LANGUAGES C)
33

44
find_package(
55
Python
6-
COMPONENTS Interpreter Development.Module
6+
COMPONENTS Development.Module
77
REQUIRED)
88

99
python_add_library(example MODULE example.c WITH_SOABI)

0 commit comments

Comments
 (0)