Skip to content

Commit 4a98ce7

Browse files
committed
test: linux musl arm
1 parent 2e7a22d commit 4a98ce7

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,18 @@ jobs:
9090
test-linux-musl-arm:
9191
needs: [build]
9292
runs-on: ubuntu-22.04-arm
93-
container:
94-
image: alpine:latest
9593
steps:
9694
- uses: actions/checkout@v5
97-
- name: Install dependencies
98-
run: apk add --no-cache bash
9995
- name: Download all workflow run artifacts
10096
uses: actions/download-artifact@v4
101-
- name: test musl arm64 package
102-
run: ./script/unpack-and-test.sh
103-
env:
104-
BINARY_ARCH: arm64
105-
BINARY_OS: linux-musl
97+
- name: Test in alpine container
98+
run: |
99+
docker run --rm \
100+
-v "${{ github.workspace }}:/workspace" \
101+
-e BINARY_ARCH=arm64 \
102+
-e BINARY_OS=linux-musl \
103+
alpine:latest /bin/sh -c "
104+
apk add --no-cache bash && \
105+
cd /workspace && \
106+
./script/unpack-and-test.sh
107+
"

0 commit comments

Comments
 (0)