File tree Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Original file line number Diff line number Diff line change 1
- name : WASM
1
+ name : CIBW
2
2
3
3
on :
4
4
workflow_dispatch :
@@ -15,16 +15,33 @@ concurrency:
15
15
jobs :
16
16
build-wasm-emscripten :
17
17
name : Pyodide wheel
18
- runs-on : ubuntu-22.04
18
+ runs-on : ubuntu-latest
19
19
steps :
20
20
- uses : actions/checkout@v4
21
21
with :
22
22
submodules : true
23
23
fetch-depth : 0
24
24
25
- - uses : pypa /cibuildwheel@v2.23
25
+ - uses : henryiii /cibuildwheel@72d263930ad04fb48fb9d660c1e38a79c9675bf7
26
26
env :
27
27
PYODIDE_BUILD_EXPORTS : whole_archive
28
28
with :
29
29
package-dir : tests
30
30
only : cp312-pyodide_wasm32
31
+
32
+ build-ios :
33
+ name : iOS wheel
34
+ runs-on : macos-latest
35
+ steps :
36
+ - uses : actions/checkout@v4
37
+ with :
38
+ submodules : true
39
+ fetch-depth : 0
40
+
41
+ - run : brew upgrade cmake
42
+
43
+ - uses : henryiii/cibuildwheel@72d263930ad04fb48fb9d660c1e38a79c9675bf7
44
+ env :
45
+ CIBW_PLATFORM : ios
46
+ with :
47
+ package-dir : tests
Original file line number Diff line number Diff line change @@ -8,10 +8,21 @@ build-backend = "scikit_build_core.build"
8
8
[project ]
9
9
name = " pybind11_tests"
10
10
version = " 0.0.1"
11
- dependencies = [" pytest" , " pytest-timeout" , " numpy" , " scipy" ]
11
+ dependencies = [" pytest" , " pytest-timeout" , " numpy" ]
12
+
13
+ [tool .scikit-build ]
14
+ build.verbose = true
15
+ logging.level = " INFO"
12
16
13
17
[tool .scikit-build .cmake .define ]
14
18
PYBIND11_FINDPYTHON = true
15
19
16
20
[tool .cibuildwheel ]
17
- test-command = " pytest -o timeout=0 -p no:cacheprovider {project}/tests/test_*.py"
21
+ test-sources = [" tests" , " pyproject.toml" ]
22
+ test-command = " python -m pytest -o timeout=0 -p no:cacheprovider tests/test_*.py"
23
+ environment.PIP_ONLY_BINARY = " numpy"
24
+ environment.PIP_PREFER_BINARY = " 1"
25
+ ios.environment.IPHONEOS_DEPLOYMENT_TARGET = " 17.0"
26
+ ios.xbuild-tools = [" cmake" , " ninja" ]
27
+ ios.environment.PIP_EXTRA_INDEX_URL = " https://pypi.anaconda.org/beeware/simple"
28
+ ios.config-settings."cmake.define.CMAKE_CXX_FLAGS" = " -DPYBIND11_HAS_SUBINTERPRETER_SUPPORT=0"
You can’t perform that action at this time.
0 commit comments