File tree Expand file tree Collapse file tree 1 file changed +40
-1
lines changed Expand file tree Collapse file tree 1 file changed +40
-1
lines changed Original file line number Diff line number Diff line change 32
32
shell : bash
33
33
run : npm run test
34
34
35
- container_tests :
35
+ container_tests_glibc :
36
36
runs-on : ubuntu-latest
37
37
strategy :
38
38
matrix :
71
71
--output type=local,dest=./prebuilds,platform-split=false \
72
72
-f ./.github/docker/Dockerfile.glibc \
73
73
.
74
+
75
+
76
+ container_tests_musl :
77
+ runs-on : ubuntu-latest
78
+ strategy :
79
+ matrix :
80
+ linux_arch : [amd64, arm64]
81
+ node : [16.20.1, 18.x, 20.x, 22.x]
82
+ fail-fast : false
83
+ steps :
84
+ - uses : actions/checkout@v4
85
+
86
+ - uses : actions/setup-node@v4
87
+ with :
88
+ node-version : ${{ matrix.node }}
89
+
90
+ - name : Get Full Node.js Version
91
+ id : get_nodejs_version
92
+ shell : bash
93
+ run : |
94
+ echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
95
+
96
+ - name : Set up QEMU
97
+ uses : docker/setup-qemu-action@v3
98
+
99
+ - name : Set up Docker Buildx
100
+ uses : docker/setup-buildx-action@v3
101
+
102
+ - name : Run Buildx
103
+ run : |
104
+ docker buildx create --name builder --bootstrap --use
105
+ docker --debug buildx build --progress=plain --no-cache \
106
+ --platform linux/${{ matrix.linux_arch }} \
107
+ --build-arg="PLATFORM=${{ matrix.linux_arch == 'arm64' && 'arm64v8' || matrix.linux_arch }}" \
108
+ --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
109
+ --build-arg="RUN_TEST=true" \
110
+ --output type=local,dest=./prebuilds,platform-split=false \
111
+ -f ./.github/docker/Dockerfile.musl \
112
+ .
You can’t perform that action at this time.
0 commit comments