Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added tests to the cibuildwheel project definition
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 18, 2023
1 parent 150d464 commit 51440e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ requires = [
"cmake>=3.5.0",
"cython>=3.0.0",
"ninja",
"pytest"
]
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
dependency-versions = "latest"
test-requires = "pytest"
test-command = "pytest {package}/tests"

[tool.cibuildwheel.linux]
environment = {SKBUILD_CONFIGURE_OPTIONS="-DBUILD_SHARED_LIBS=OFF", FFLAGS="${FFLAGS} -fPIC", CFLAGS="${CFLAGS} -fPIC", LDFLAGS="${LDFLAGS} -fPIE", LIBS="-lgomp"}
Expand Down

0 comments on commit 51440e1

Please sign in to comment.