diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 947f4ade..1ccd9253 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 8a6fa631..e319107b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 +