Skip to content

Commit

Permalink
Revert "Attempting cross-compiling linux via github actions once again"
Browse files Browse the repository at this point in the history
This reverts commit 6fce18b.
  • Loading branch information
Vhou-Atroph committed Mar 28, 2024
1 parent d3f95e7 commit 3693ac7
Showing 1 changed file with 17 additions and 28 deletions.
45 changes: 17 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,40 +66,29 @@ jobs:
path: dist

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: 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
uses: actions/upload-artifact@v4
# 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@v3
with:
name: wheels-linux-${{ matrix.platform.target }}
name: wheels
path: dist


macos-exe:
runs-on: macos-latest
Expand Down Expand Up @@ -187,4 +176,4 @@ jobs:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --non-interactive --skip-existing *
args: --non-interactive --skip-existing *

0 comments on commit 3693ac7

Please sign in to comment.