1111 host_tests :
1212 strategy :
1313 matrix :
14- os : [macos-latest, windows-2019]
14+ # os: [macos-latest, windows-2019]
15+ os : [windows-2019]
1516 node : [16.20.1, 18.x, 20.x, 22.x]
17+ fail-fast : false
18+
1619 runs-on : ${{ matrix.os }}
1720 steps :
1821 - uses : actions/checkout@v4
@@ -27,85 +30,91 @@ jobs:
2730 run : npm run install-zstd
2831 shell : bash
2932
30- - name : install dependencies and compmile
33+ - name : install dependencies and compile
3134 run : npm install --loglevel verbose
3235 shell : bash
3336
3437 - name : Test ${{ matrix.os }}
3538 shell : bash
3639 run : npm test
3740
38- container_tests_glibc :
39- runs-on : ubuntu-latest
40- strategy :
41- matrix :
42- linux_arch : [s390x, arm64, amd64]
43- node : [16.x, 18.x, 20.x, 22.x]
44- steps :
45- - uses : actions/checkout@v4
46-
47- - uses : actions/setup-node@v4
48- with :
49- node-version : ${{ matrix.node }}
50-
51- - name : Get Full Node.js Version
52- id : get_nodejs_version
53- shell : bash
54- run : |
55- echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
56- echo "ubuntu_version=$(node --print '(+process.version.slice(1).split(`.`).at(0)) > 16 ? `noble` : `bionic`')" >> "$GITHUB_OUTPUT"
57-
58- - name : Set up QEMU
59- uses : docker/setup-qemu-action@v3
60-
61- - name : Set up Docker Buildx
62- uses : docker/setup-buildx-action@v3
63-
64- - name : Run Buildx
65- run : |
66- docker buildx create --name builder --bootstrap --use
67- docker buildx build \
68- --platform linux/${{ matrix.linux_arch }} \
69- --build-arg="NODE_ARCH=${{ matrix.linux_arch == 'amd64' && 'x64' || matrix.linux_arch }}" \
70- --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
71- --build-arg="UBUNTU_VERSION=${{ steps.get_nodejs_version.outputs.ubuntu_version }}" \
72- --build-arg="RUN_TEST=true" \
73- --output type=local,dest=./prebuilds,platform-split=false \
74- -f ./.github/docker/Dockerfile.glibc \
75- .
76-
77- container_tests_musl :
78- runs-on : ubuntu-latest
79- strategy :
80- matrix :
81- linux_arch : [arm64, amd64]
82- node : [16.20.1, 18.x, 20.x, 22.x]
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 }}" \
108- --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
109- --build-arg="RUN_TEST=true" \
110- -f ./.github/docker/Dockerfile.musl -t musl-zstd-base \
111- .
41+ # container_tests_glibc:
42+ # runs-on: ubuntu-latest
43+ # strategy:
44+ # matrix:
45+ # linux_arch: [s390x, arm64, amd64]
46+ # # node: [16.x, 18.x, 20.x, 22.x]
47+ # node: [16.x]
48+ # fail-fast: false
49+ # steps:
50+ # - uses: actions/checkout@v4
51+
52+ # - uses: actions/setup-node@v4
53+ # with:
54+ # node-version: ${{ matrix.node }}
55+
56+ # - name: Get Full Node.js Version
57+ # id: get_nodejs_version
58+ # shell: bash
59+ # run: |
60+ # echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
61+ # echo "ubuntu_version=$(node --print '(+process.version.slice(1).split(`.`).at(0)) > 16 ? `noble` : `bionic`')" >> "$GITHUB_OUTPUT"
62+
63+ # - name: Set up QEMU
64+ # uses: docker/setup-qemu-action@v3
65+
66+ # - name: Set up Docker Buildx
67+ # uses: docker/setup-buildx-action@v3
68+
69+ # - name: Run Buildx
70+ # run: |
71+ # docker buildx create --name builder --bootstrap --use
72+ # docker buildx build \
73+ # --platform linux/${{ matrix.linux_arch }} \
74+ # --build-arg="NODE_ARCH=${{ matrix.linux_arch == 'amd64' && 'x64' || matrix.linux_arch }}" \
75+ # --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
76+ # --build-arg="UBUNTU_VERSION=${{ steps.get_nodejs_version.outputs.ubuntu_version }}" \
77+ # --build-arg="RUN_TEST=true" \
78+ # --output type=local,dest=./prebuilds,platform-split=false \
79+ # -f ./.github/docker/Dockerfile.glibc \
80+ # .
81+
82+ # container_tests_musl:
83+ # runs-on: ubuntu-latest
84+ # strategy:
85+ # matrix:
86+ # linux_arch: [arm64, amd64]
87+ # # node: [16.20.1, 18.x, 20.x, 22.x]
88+ # node: [16.20.1]
89+ # fail-fast: false
90+
91+ # steps:
92+ # - uses: actions/checkout@v4
93+
94+ # - uses: actions/setup-node@v4
95+ # with:
96+ # node-version: ${{ matrix.node }}
97+
98+ # - name: Get Full Node.js Version
99+ # id: get_nodejs_version
100+ # shell: bash
101+ # run: |
102+ # echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
103+
104+ # - name: Set up QEMU
105+ # uses: docker/setup-qemu-action@v3
106+
107+ # - name: Set up Docker Buildx
108+ # uses: docker/setup-buildx-action@v3
109+
110+ # - name: Run Buildx
111+ # run: |
112+ # docker buildx create --name builder --bootstrap --use
113+ # docker --debug buildx build --progress=plain --no-cache \
114+ # --platform linux/${{ matrix.linux_arch }} \
115+ # --build-arg="PLATFORM=${{ matrix.linux_arch }}" \
116+ # --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
117+ # --build-arg="RUN_TEST=true" \
118+ # --output type=local,dest=./prebuilds,platform-split=false \
119+ # -f ./.github/docker/Dockerfile.musl \
120+ # .
0 commit comments