Skip to content

Commit a869438

Browse files
committed
ci: add 3.14, iOS
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 9d78c1e commit a869438

File tree

4 files changed

+41
-23
lines changed

4 files changed

+41
-23
lines changed

.github/workflows/enscripten.yaml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: WASM
1+
name: CIBW cross-compile
22

33
on:
44
workflow_dispatch:
@@ -11,23 +11,39 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
build-wasm-emscripten:
14+
build-pyodide:
1515
name: Pyodide
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19-
with:
20-
submodules: true
21-
fetch-depth: 0
2219

2320
- uses: actions/setup-python@v5
2421
with:
2522
python-version: "3.12"
2623

27-
- uses: pypa/cibuildwheel@v2.23
24+
- uses: pypa/cibuildwheel@v3.0.0rc1
2825
env:
2926
CIBW_PLATFORM: pyodide
3027

3128
- uses: actions/upload-artifact@v4
3229
with:
30+
name: wheels-pyodide
31+
path: dist/*.whl
32+
33+
build-ios:
34+
name: iOS
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v4
38+
39+
- uses: actions/setup-python@v5
40+
41+
- uses: pypa/[email protected]
42+
env:
43+
CIBW_PLATFORM: ios
44+
CIBW_ARCHS: all
45+
46+
- uses: actions/upload-artifact@v4
47+
with:
48+
name: wheels-ios
3349
path: dist/*.whl

.github/workflows/pip.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
platform: [windows-latest, macos-latest, ubuntu-latest]
18-
python-version: ["3.9", "3.13", "pypy-3.10"]
18+
python-version: ["3.9", "3.14", "pypy-3.10"]
1919

2020
steps:
2121
- uses: actions/checkout@v4

.github/workflows/wheels.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
os: [ubuntu-latest, macos-13, macos-latest, windows-latest]
47+
os: [ubuntu-latest, macos-13, macos-latest, windows-latest, ubuntu-24.04-arm, windows-11-arm]
4848

4949
steps:
5050
- uses: actions/checkout@v4
@@ -53,10 +53,7 @@ jobs:
5353

5454
- uses: astral-sh/setup-uv@v5
5555

56-
- uses: pypa/[email protected]
57-
env:
58-
CIBW_ENABLE: cpython-prerelease
59-
CIBW_ARCHS_WINDOWS: auto ARM64
56+
- uses: pypa/[email protected]
6057

6158
- name: Verify clean directory
6259
run: git diff --exit-code
@@ -95,5 +92,3 @@ jobs:
9592
subject-path: "dist/*"
9693

9794
- uses: pypa/gh-action-pypi-publish@release/v1
98-
with:
99-
attestations: true

pyproject.toml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[build-system]
2-
requires = ["scikit-build-core>=0.10", "pybind11"]
2+
requires = ["scikit-build-core>=0.11", "pybind11>=3.0.0rc3"]
33
build-backend = "scikit_build_core.build"
44

55

66
[project]
77
name = "scikit_build_example"
88
version = "0.0.1"
9+
license = "MIT"
10+
license-files = ["LICENSE"]
911
description="A minimal example package (with pybind11)"
1012
readme = "README.md"
1113
authors = [
@@ -14,23 +16,23 @@ authors = [
1416
requires-python = ">=3.9"
1517
classifiers = [
1618
"Development Status :: 4 - Beta",
17-
"License :: OSI Approved :: MIT License",
1819
"Programming Language :: Python :: 3 :: Only",
19-
"Programming Language :: Python :: 3.7",
20-
"Programming Language :: Python :: 3.8",
2120
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",
2524
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
26+
"Private :: Do Not Upload",
2627
]
2728

28-
[project.optional-dependencies]
29+
30+
[dependency-groups]
2931
test = ["pytest"]
32+
dev = [{ include-group = "test" }]
3033

3134

3235
[tool.scikit-build]
33-
wheel.expand-macos-universal-tags = true
3436
minimum-version = "build-system.requires"
3537

3638

@@ -48,12 +50,17 @@ testpaths = ["tests"]
4850

4951
[tool.cibuildwheel]
5052
build-frontend = "build[uv]"
51-
test-command = "pytest {project}/tests"
52-
test-extras = ["test"]
53+
enable = ["cpython-prerelease", "pypy"]
54+
test-command = "python -m pytest tests"
55+
test-sources = ["pyproject.toml", "tests"]
56+
test-groups = ["test"]
5357

5458
[tool.cibuildwheel.pyodide]
5559
build-frontend = {name = "build", args = ["--exports", "whole_archive"]}
5660

61+
[tool.cibuildwheel.ios]
62+
xbuild-tools = ["cmake", "ninja"]
63+
5764
[tool.ruff.lint]
5865
extend-select = [
5966
"B", # flake8-bugbear

0 commit comments

Comments
 (0)