Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Oct 23, 2024
1 parent de0f6c9 commit 27c2c8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
- "CMakeLists.txt"
- "conanfile.py"
- "pyproject.toml"
tags:
- "v*.*.*"

pull_request:
paths:
Expand Down Expand Up @@ -70,14 +68,14 @@ jobs:
run: |
CIBW_ARCHS_LINUX=x86_64 cibuildwheel \
--print-build-identifiers \
--platform linux |
--platform manylinux_2_28 |
jq -nRc '{"wheel-config": inputs, "os": "ubuntu-latest", "arch": "x86_64"}' |
tee configs.json
if [ '${{ github.event_name }}' != 'pull_request' ]; then
CIBW_ARCHS_LINUX=aarch64 cibuildwheel \
--print-build-identifiers \
--platform linux |
--platform manylinux_2_28 |
jq -nRc '{"wheel-config": inputs, "os": "ubuntu-latest", "arch": "aarch64"}' |
tee -a configs.json
fi
Expand Down Expand Up @@ -309,7 +307,6 @@ jobs:
uses: actions/download-artifact@v4
with:
name: dist
path: dist
merge-multiple: true

- name: Extract dist.tar
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ testpaths = [
]

[tool.cibuildwheel]
build-frontend = "build"
skip = ["cp313*", "cp314*", "*musllinux*", "pp*"]
test-command = "python -m pytest {project}/test"
test-extras = ["test", "numpy", "pandas", "pyarrow", "scipy"]
Expand Down

0 comments on commit 27c2c8c

Please sign in to comment.