Skip to content

Commit

Permalink
Reverting Linux build to the old version
Browse files Browse the repository at this point in the history
but also using upload-artifact v4
  • Loading branch information
Vhou-Atroph committed May 8, 2024
1 parent 602cdf6 commit cbe69d8
Showing 1 changed file with 14 additions and 28 deletions.
42 changes: 14 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,39 +68,25 @@ jobs:


linux-wheel:
runs-on: ${{ matrix.platform.runner }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
- runner: ubuntu-latest
target: x86_64
- runner: ubuntu-latest
target: x86
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
- runner: ubuntu-latest
target: s390x
- runner: ubuntu-latest
target: ppc64le
target: [x86_64]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Checkout branch
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install OpenSSL
run : |
sudo apt install pkg-config
sudo apt-get install libudev-dev
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto
- name: Upload wheels
# i cant seem to get the maturin action to work properly for linux
# so i will be trying my best to emulate it with a list of commands instead
- name: Build Wheel
run: |
pip install maturin
maturin build --release --out dist --find-interpreter
- name: Upload Wheel
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.platform.target }}
Expand Down

0 comments on commit cbe69d8

Please sign in to comment.