8
8
name : Test
9
9
10
10
jobs :
11
- host_tests :
12
- strategy :
13
- matrix :
14
- os : [macos-latest, windows-2019, macos-13]
15
- node : [16.20.1, 18.x, 20.x, 22.x]
16
- fail-fast : false
17
- runs-on : ${{ matrix.os }}
18
- steps :
19
- - uses : actions/checkout@v4
20
-
21
- - uses : actions/setup-node@v4
22
- with :
23
- node-version : ${{ matrix.node }}
24
- cache : " npm"
25
- registry-url : " https://registry.npmjs.org"
26
-
27
- - name : Install zstd
28
- run : npm run install-zstd
29
- shell : bash
30
-
31
- - name : install dependencies and compile
32
- run : npm install --ignore-scripts --loglevel verbose && npm run prebuild
33
- shell : bash
34
-
35
- - name : Test ${{ matrix.os }}
36
- shell : bash
37
- run : npm test
11
+ # host_tests:
12
+ # strategy:
13
+ # matrix:
14
+ # os: [macos-latest, windows-2019, macos-13]
15
+ # node: [16.20.1, 18.x, 20.x, 22.x]
16
+ # fail-fast: false
17
+ # runs-on: ${{ matrix.os }}
18
+ # steps:
19
+ # - uses: actions/checkout@v4
20
+
21
+ # - uses: actions/setup-node@v4
22
+ # with:
23
+ # node-version: ${{ matrix.node }}
24
+ # cache: "npm"
25
+ # registry-url: "https://registry.npmjs.org"
26
+
27
+ # - name: Install zstd
28
+ # run: npm run install-zstd
29
+ # shell: bash
30
+
31
+ # - name: install dependencies and compile
32
+ # run: npm install --ignore-scripts --loglevel verbose && npm run prebuild
33
+ # shell: bash
34
+
35
+ # - name: Test ${{ matrix.os }}
36
+ # shell: bash
37
+ # run: npm test
38
38
39
39
container_tests_glibc :
40
40
runs-on : ubuntu-latest
41
41
strategy :
42
42
matrix :
43
- linux_arch : [s390x, arm64, amd64]
43
+ # linux_arch: [s390x, arm64, amd64]
44
+ linux_arch : [s390x, arm64]
44
45
node : [16.x, 18.x, 20.x, 22.x]
45
46
fail-fast : false
46
47
steps :
62
63
63
64
- name : Set up Docker Buildx
64
65
uses : docker/setup-buildx-action@v3
66
+ with :
67
+ driver-opts : image=moby/buildkit:v0.18.1
68
+ version : v0.19.2
65
69
66
70
- name : Run Buildx
67
71
run : |
@@ -76,43 +80,43 @@ jobs:
76
80
-f ./.github/docker/Dockerfile.glibc \
77
81
.
78
82
79
- container_tests_musl :
80
- runs-on : ubuntu-latest
81
- strategy :
82
- matrix :
83
- linux_arch : [amd64, arm64]
84
- node : [16.20.1, 18.x, 20.x, 22.x]
85
- fail-fast : false
86
- steps :
87
- - uses : actions/checkout@v4
88
-
89
- - uses : actions/setup-node@v4
90
- with :
91
- node-version : ${{ matrix.node }}
92
-
93
- - name : Get Full Node.js Version
94
- id : get_nodejs_version
95
- shell : bash
96
- run : |
97
- echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
98
-
99
- - name : Set up QEMU
100
- uses : docker/setup-qemu-action@v3
101
-
102
- - name : Set up Docker Buildx
103
- uses : docker/setup-buildx-action@v3
104
- with :
105
- driver-opts : image=moby/buildkit:v0.18.1
106
- version : v0.19.2
107
-
108
- - name : Run Buildx
109
- run : |
110
- docker buildx create --name builder --bootstrap --use
111
- docker --debug buildx build --progress=plain --no-cache \
112
- --platform linux/${{ matrix.linux_arch }} \
113
- --build-arg="PLATFORM=${{ matrix.linux_arch == 'arm64' && 'arm64v8' || matrix.linux_arch }}" \
114
- --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
115
- --build-arg="RUN_TEST=true" \
116
- --output type=local,dest=./prebuilds,platform-split=false \
117
- -f ./.github/docker/Dockerfile.musl \
118
- .
83
+ # container_tests_musl:
84
+ # runs-on: ubuntu-latest
85
+ # strategy:
86
+ # matrix:
87
+ # linux_arch: [amd64, arm64]
88
+ # node: [16.20.1, 18.x, 20.x, 22.x]
89
+ # fail-fast: false
90
+ # steps:
91
+ # - uses: actions/checkout@v4
92
+
93
+ # - uses: actions/setup-node@v4
94
+ # with:
95
+ # node-version: ${{ matrix.node }}
96
+
97
+ # - name: Get Full Node.js Version
98
+ # id: get_nodejs_version
99
+ # shell: bash
100
+ # run: |
101
+ # echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
102
+
103
+ # - name: Set up QEMU
104
+ # uses: docker/setup-qemu-action@v3
105
+
106
+ # - name: Set up Docker Buildx
107
+ # uses: docker/setup-buildx-action@v3
108
+ # with:
109
+ # driver-opts: image=moby/buildkit:v0.18.1
110
+ # version: v0.19.2
111
+
112
+ # - name: Run Buildx
113
+ # run: |
114
+ # docker buildx create --name builder --bootstrap --use
115
+ # docker --debug buildx build --progress=plain --no-cache \
116
+ # --platform linux/${{ matrix.linux_arch }} \
117
+ # --build-arg="PLATFORM=${{ matrix.linux_arch == 'arm64' && 'arm64v8' || matrix.linux_arch }}" \
118
+ # --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
119
+ # --build-arg="RUN_TEST=true" \
120
+ # --output type=local,dest=./prebuilds,platform-split=false \
121
+ # -f ./.github/docker/Dockerfile.musl \
122
+ # .
0 commit comments