Skip to content

Commit 46b5cd3

Browse files
committed
ci: add prebuilt musl for more architectures
1 parent e3eff5c commit 46b5cd3

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ jobs:
152152

153153
- name: resolve MSRV
154154
id: resolve-msrv
155-
run:
156-
echo MSRV=`python -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["package"]["rust-version"])'` >> $GITHUB_OUTPUT
155+
run: echo MSRV=`python -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["package"]["rust-version"])'` >> $GITHUB_OUTPUT
157156

158157
- name: install rust MSRV
159158
uses: dtolnay/rust-toolchain@master
@@ -357,8 +356,8 @@ jobs:
357356
- run: npm run test
358357

359358
- run: |
360-
ls -lh dist/
361-
ls -l dist/
359+
ls -lh dist/
360+
ls -l dist/
362361
363362
- uses: actions/upload-artifact@v4
364363
with:
@@ -434,6 +433,15 @@ jobs:
434433
- os: linux
435434
manylinux: musllinux_1_1
436435
target: aarch64
436+
- os: linux
437+
manylinux: musllinux_1_1
438+
target: armv7
439+
- os: linux
440+
manylinux: musllinux_1_1
441+
target: ppc64le
442+
- os: linux
443+
manylinux: musllinux_1_1
444+
target: s390x
437445

438446
# macos;
439447
# all versions x86_64
@@ -559,7 +567,7 @@ jobs:
559567
rust-toolchain: ${{ steps.rust-toolchain.outputs.name }}
560568
docker-options: -e CI
561569
env:
562-
RUSTFLAGS: "-Cprofile-generate=${{ github.workspace }}/profdata"
570+
RUSTFLAGS: '-Cprofile-generate=${{ github.workspace }}/profdata'
563571

564572
- name: detect rust host
565573
run: echo RUST_HOST=$(rustc -Vv | grep host | cut -d ' ' -f 2) >> "$GITHUB_ENV"
@@ -587,7 +595,7 @@ jobs:
587595
rust-toolchain: ${{steps.rust-toolchain.outputs.name}}
588596
docker-options: -e CI
589597
env:
590-
RUSTFLAGS: "-Cprofile-use=${{ github.workspace }}/merged.profdata"
598+
RUSTFLAGS: '-Cprofile-use=${{ github.workspace }}/merged.profdata'
591599

592600
- run: ${{ matrix.ls || 'ls -lh' }} dist/
593601

@@ -612,20 +620,20 @@ jobs:
612620

613621
- name: list dist files
614622
run: |
615-
ls -lh dist/
616-
ls -l dist/
617-
echo "`ls dist | wc -l` files"
623+
ls -lh dist/
624+
ls -l dist/
625+
echo "`ls dist | wc -l` files"
618626
619627
- name: extract and list sdist file
620628
run: |
621-
mkdir sdist-files
622-
tar -xvf dist/*.tar.gz -C sdist-files
623-
tree -a sdist-files
629+
mkdir sdist-files
630+
tar -xvf dist/*.tar.gz -C sdist-files
631+
tree -a sdist-files
624632
625633
- name: extract and list wheel file
626634
run: |
627-
ls dist/*cp310-manylinux*x86_64.whl | head -n 1
628-
python -m zipfile --list `ls dist/*cp310-manylinux*x86_64.whl | head -n 1`
635+
ls dist/*cp310-manylinux*x86_64.whl | head -n 1
636+
python -m zipfile --list `ls dist/*cp310-manylinux*x86_64.whl | head -n 1`
629637
630638
test-builds-arch:
631639
name: test build on ${{ matrix.target }}-${{ matrix.distro }}

0 commit comments

Comments
 (0)