Skip to content

Commit

Permalink
chore: nicer location for whole archive setting
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Aug 22, 2024
1 parent ec29f2d commit d7282b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/emscripten.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
fetch-depth: 0

- uses: pypa/cibuildwheel@v2.20
env:
PYODIDE_BUILD_EXPORTS: whole_archive
with:
package-dir: tests
only: cp312-pyodide_wasm32
9 changes: 8 additions & 1 deletion tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# builder for the tests (yet). Specifically, wheels can't be built from SDists.

[build-system]
requires = ["scikit-build-core"]
requires = ["scikit-build-core>=0.10"]
build-backend = "scikit_build_core.build"

[project]
Expand All @@ -13,5 +13,12 @@ classifiers = [
"Private :: Do Not Upload",
]

[tool.scikit-build]
minimum-version = "build-system.requires"

[tool.cibuildwheel]
test-command = "pytest -o timeout=0 -p no:cacheprovider {project}/tests/test_*.py"

[[tool.cibuildwheel.overrides]]
select = ["*-pyodide_wasm32"]
environment.PYODIDE_BUILD_EXPORTS = "whole_archive"

0 comments on commit d7282b9

Please sign in to comment.