Skip to content

Commit

Permalink
Use cibuildwheel on Linux, disable Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Mar 26, 2024
1 parent e6c987f commit 62a2e34
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/cli-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ env:
jobs:
wheels-linux:
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64
strategy:
matrix:
target: [x86_64]
Expand All @@ -41,19 +40,14 @@ jobs:
architecture: ${{ matrix.target }}
- name: Install build tools
run: |
pip install maturin auditwheel
pip install cibuildwheel
- name: Install non-Rust dependencies
run: |
python maintainer/install-lhapdf.py
- name: Build wheels
working-directory: pineappl_cli
run: |
# `--find-interpreter` is needed to generate wheels for
# *all* Python versions
maturin build --release --out dist --find-interpreter \
--manifest-path pineappl_cli/Cargo.toml
- name: Patch wheels
run: |
auditwheel repair dist/*
cibuildwheel --out ../dist
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -121,6 +115,7 @@ jobs:
strategy:
matrix:
target: [x64]
if: false

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 62a2e34

Please sign in to comment.