Skip to content

Commit 903a1a9

Browse files
authored
ci: add prebuilt musl for armv7 (#1477)
1 parent 0af18c4 commit 903a1a9

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

.github/workflows/ci.yml

Lines changed: 16 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,9 @@ jobs:
434433
- os: linux
435434
manylinux: musllinux_1_1
436435
target: aarch64
436+
- os: linux
437+
manylinux: musllinux_1_1
438+
target: armv7
437439

438440
# macos;
439441
# all versions x86_64
@@ -559,7 +561,7 @@ jobs:
559561
rust-toolchain: ${{ steps.rust-toolchain.outputs.name }}
560562
docker-options: -e CI
561563
env:
562-
RUSTFLAGS: "-Cprofile-generate=${{ github.workspace }}/profdata"
564+
RUSTFLAGS: '-Cprofile-generate=${{ github.workspace }}/profdata'
563565

564566
- name: detect rust host
565567
run: echo RUST_HOST=$(rustc -Vv | grep host | cut -d ' ' -f 2) >> "$GITHUB_ENV"
@@ -587,7 +589,7 @@ jobs:
587589
rust-toolchain: ${{steps.rust-toolchain.outputs.name}}
588590
docker-options: -e CI
589591
env:
590-
RUSTFLAGS: "-Cprofile-use=${{ github.workspace }}/merged.profdata"
592+
RUSTFLAGS: '-Cprofile-use=${{ github.workspace }}/merged.profdata'
591593

592594
- run: ${{ matrix.ls || 'ls -lh' }} dist/
593595

@@ -612,20 +614,20 @@ jobs:
612614

613615
- name: list dist files
614616
run: |
615-
ls -lh dist/
616-
ls -l dist/
617-
echo "`ls dist | wc -l` files"
617+
ls -lh dist/
618+
ls -l dist/
619+
echo "`ls dist | wc -l` files"
618620
619621
- name: extract and list sdist file
620622
run: |
621-
mkdir sdist-files
622-
tar -xvf dist/*.tar.gz -C sdist-files
623-
tree -a sdist-files
623+
mkdir sdist-files
624+
tar -xvf dist/*.tar.gz -C sdist-files
625+
tree -a sdist-files
624626
625627
- name: extract and list wheel file
626628
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`
629+
ls dist/*cp310-manylinux*x86_64.whl | head -n 1
630+
python -m zipfile --list `ls dist/*cp310-manylinux*x86_64.whl | head -n 1`
629631
630632
test-builds-arch:
631633
name: test build on ${{ matrix.target }}-${{ matrix.distro }}

0 commit comments

Comments
 (0)