-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
47 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -232,52 +232,53 @@ jobs: | |
name: wheels | ||
path: dist | ||
|
||
# TODO: uraimo/run-on-arch-action seems broken? | ||
# musllinux-cross: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# platform: | ||
# - target: aarch64-unknown-linux-musl | ||
# arch: aarch64 | ||
# - target: armv7-unknown-linux-musleabihf | ||
# arch: armv7 | ||
|
||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Setup Python | ||
# uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: 3.9 | ||
|
||
# - name: Build wheels - ${{ matrix.platform.target }} | ||
# uses: PyO3/maturin-action@v1 | ||
# with: | ||
# target: ${{ matrix.platform.target }} | ||
# manylinux: musllinux_1_2 | ||
# args: --release -i 3.8 3.9 3.10 3.11 3.12 -o dist | ||
|
||
# - name: Install built wheel - ${{ matrix.platform.arch }} | ||
# uses: uraimo/[email protected] | ||
# with: | ||
# arch: ${{ matrix.platform.arch }} | ||
# distro: alpine_latest | ||
# githubToken: ${{ github.token }} | ||
# install: | | ||
# apk add py3-pip | ||
# pip3 install -U pip | ||
# run: | | ||
# pip3 install piston_rspy --no-index --find-links dist/ --force-reinstall | ||
# python3 -c "import piston_rspy" | ||
|
||
# - name: Upload wheels | ||
# uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: wheels | ||
# path: dist | ||
musllinux-cross: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: | ||
- target: aarch64-unknown-linux-musl | ||
arch: aarch64 | ||
- target: armv7-unknown-linux-musleabihf | ||
arch: armv7 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Build wheels - ${{ matrix.platform.target }} | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.platform.target }} | ||
manylinux: musllinux_1_2 | ||
args: --release -i 3.8 3.9 3.10 3.11 3.12 -o dist | ||
|
||
- name: Install built wheel - ${{ matrix.platform.arch }} | ||
uses: uraimo/[email protected] | ||
with: | ||
arch: ${{ matrix.platform.arch }} | ||
distro: alpine_latest | ||
githubToken: ${{ github.token }} | ||
install: | | ||
apk add py3-pip | ||
python3 -m venv .venv | ||
source .venv/bin/activate | ||
pip3 install -U pip | ||
run: | | ||
pip3 install piston_rspy --no-index --find-links dist/ --force-reinstall | ||
python3 -c "import piston_rspy" | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: wheels | ||
path: dist | ||
|
||
release: | ||
name: Release | ||
|