Skip to content

Commit

Permalink
(fix) update cibw image
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavnatarajan committed Nov 7, 2024
1 parent dd2305f commit 945ff80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,15 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_BEFORE_ALL_LINUX: yum install -y zip
CIBW_ARCHS: auto64
CIBW_SKIP: "pp* *-musllinux_*"
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT_PASS_LINUX: CI
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
# We need rustup to build phimaker from source if necessary
CIBW_BEFORE_ALL_LINUX: apt-get install -y zip rustup
CIBW_TEST_COMMAND: pytest {package}/tests
CIBW_TEST_REQUIRES: pytest~=8.2

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 0 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ wheel.packages = ["src/chalc"]
wheel.install-dir = "chalc"
experimental = true

[tool.cibuildwheel]
archs = ["auto64"]
skip = ["pp*", "*-musllinux_*"]
test-command = "pytest {package}/tests"
test-requires = ["pytest~=8.2.2"]
build-verbosity = 2

[tool.cibuildwheel.linux]
environment-pass = ["CI"]

[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]

Expand Down

0 comments on commit 945ff80

Please sign in to comment.