Skip to content

Commit

Permalink
cibuilwheel: from GitHub workflow env to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tvandera committed Jun 6, 2024
1 parent 0330a3e commit 4a2ff3a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_SKIP: '*-win32 *-manylinux_i686'
CIBW_ENVIRONMENT: 'CMAKE_ARGS="-DENABLE_BOOST=OFF -DENABLE_CMDLINE=OFF -DENABLE_TESTS=OFF" BUILD_ARGS=-j6'
CIBW_MANYLINUX_X86_64_IMAGE: vanderaa/manylinux2014_x86_64_smurff
CIBW_TEST_COMMAND: 'pytest {project}/python/test'
CIBW_TEST_REQUIRES: 'parameterized pytest'
CIBW_BUILD_VERBOSITY: 1
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,11 @@ Homepage = "http://github.com/ExaScience/smurff"

[project.scripts]
py_smurff = "smurff.cmdline:main"

[tool.cibuildwheel]
manylinux-x86_64-image = "vanderaa/manylinux2014_x86_64_smurff"
skip = "cp36-* cp312-* *-win32 *-manylinux_i686"
test-command = 'pytest {project}/python/test'
test-requires = 'parameterized pytest'
build-verbosity = 1

0 comments on commit 4a2ff3a

Please sign in to comment.