Skip to content

Commit 47fbb98

Browse files
committed
feat: update linux-musl arm64 test command to skip unit tests in Alpine Docker
1 parent 0da300b commit 47fbb98

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,11 @@ jobs:
524524

525525
- name: unix test adam extension
526526
if: contains(matrix.name, 'linux') || ( matrix.name == 'macos' && matrix.arch != 'x86_64' )
527-
run: ${{ contains(matrix.name, 'linux-musl') && matrix.arch == 'arm64' && 'docker exec alpine' || '' }} make test ${{ matrix.make && matrix.make || ''}}
527+
# -e SKIP_UNITTEST passes the job-level env into the linux-musl arm64
528+
# docker container so `make test` skips the test_adam CLI binary
529+
# (which links -fsanitize=address/undefined — libasan/ubsan aren't in
530+
# Alpine — and also hits the duplicate miniaudio symbol from libmtmd).
531+
run: ${{ contains(matrix.name, 'linux-musl') && matrix.arch == 'arm64' && 'docker exec -e SKIP_UNITTEST alpine' || '' }} make test ${{ matrix.make && matrix.make || ''}}
528532

529533
- uses: actions/upload-artifact@v4.6.2
530534
if: always()

0 commit comments

Comments
 (0)