Skip to content

Commit 7d25db3

Browse files
smaller matrix for testing
1 parent 6187d91 commit 7d25db3

File tree

1 file changed

+78
-78
lines changed

1 file changed

+78
-78
lines changed

.github/workflows/test.yml

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [macos-latest, windows-2019, macos-13]
15-
node: [16.20.1, 18.x, 20.x, 22.x]
15+
node: [16.20.1]
1616
fail-fast: false
1717
runs-on: ${{ matrix.os }}
1818
steps:
@@ -36,80 +36,80 @@ jobs:
3636
shell: bash
3737
run: npm test
3838

39-
container_tests_glibc:
40-
runs-on: ubuntu-latest
41-
strategy:
42-
matrix:
43-
linux_arch: [s390x, arm64, amd64]
44-
node: [16.x, 18.x, 20.x, 22.x]
45-
fail-fast: false
46-
steps:
47-
- uses: actions/checkout@v4
48-
49-
- uses: actions/setup-node@v4
50-
with:
51-
node-version: ${{ matrix.node }}
52-
53-
- name: Get Full Node.js Version
54-
id: get_nodejs_version
55-
shell: bash
56-
run: |
57-
echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
58-
echo "ubuntu_version=$(node --print '(+process.version.slice(1).split(`.`).at(0)) > 16 ? `noble` : `bionic`')" >> "$GITHUB_OUTPUT"
59-
60-
- name: Set up QEMU
61-
uses: docker/setup-qemu-action@v3
62-
63-
- name: Set up Docker Buildx
64-
uses: docker/setup-buildx-action@v3
65-
66-
- name: Run Buildx
67-
run: |
68-
docker buildx create --name builder --bootstrap --use
69-
docker buildx build \
70-
--platform linux/${{ matrix.linux_arch }} \
71-
--build-arg="NODE_ARCH=${{ matrix.linux_arch == 'amd64' && 'x64' || matrix.linux_arch }}" \
72-
--build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
73-
--build-arg="UBUNTU_VERSION=${{ steps.get_nodejs_version.outputs.ubuntu_version }}" \
74-
--build-arg="RUN_TEST=true" \
75-
--output type=local,dest=./prebuilds,platform-split=false \
76-
-f ./.github/docker/Dockerfile.glibc \
77-
.
78-
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-
105-
- name: Run Buildx
106-
run: |
107-
docker buildx create --name builder --bootstrap --use
108-
docker --debug buildx build --progress=plain --no-cache \
109-
--platform linux/${{ matrix.linux_arch }} \
110-
--build-arg="PLATFORM=${{ matrix.linux_arch == 'arm64' && 'arm64v8' || matrix.linux_arch }}" \
111-
--build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
112-
--build-arg="RUN_TEST=true" \
113-
--output type=local,dest=./prebuilds,platform-split=false \
114-
-f ./.github/docker/Dockerfile.musl \
115-
.
39+
# container_tests_glibc:
40+
# runs-on: ubuntu-latest
41+
# strategy:
42+
# matrix:
43+
# linux_arch: [s390x, arm64, amd64]
44+
# node: [16.x, 18.x, 20.x, 22.x]
45+
# fail-fast: false
46+
# steps:
47+
# - uses: actions/checkout@v4
48+
49+
# - uses: actions/setup-node@v4
50+
# with:
51+
# node-version: ${{ matrix.node }}
52+
53+
# - name: Get Full Node.js Version
54+
# id: get_nodejs_version
55+
# shell: bash
56+
# run: |
57+
# echo "version=$(node --print 'process.version.slice(1)')" >> "$GITHUB_OUTPUT"
58+
# echo "ubuntu_version=$(node --print '(+process.version.slice(1).split(`.`).at(0)) > 16 ? `noble` : `bionic`')" >> "$GITHUB_OUTPUT"
59+
60+
# - name: Set up QEMU
61+
# uses: docker/setup-qemu-action@v3
62+
63+
# - name: Set up Docker Buildx
64+
# uses: docker/setup-buildx-action@v3
65+
66+
# - name: Run Buildx
67+
# run: |
68+
# docker buildx create --name builder --bootstrap --use
69+
# docker buildx build \
70+
# --platform linux/${{ matrix.linux_arch }} \
71+
# --build-arg="NODE_ARCH=${{ matrix.linux_arch == 'amd64' && 'x64' || matrix.linux_arch }}" \
72+
# --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
73+
# --build-arg="UBUNTU_VERSION=${{ steps.get_nodejs_version.outputs.ubuntu_version }}" \
74+
# --build-arg="RUN_TEST=true" \
75+
# --output type=local,dest=./prebuilds,platform-split=false \
76+
# -f ./.github/docker/Dockerfile.glibc \
77+
# .
78+
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+
105+
# - name: Run Buildx
106+
# run: |
107+
# docker buildx create --name builder --bootstrap --use
108+
# docker --debug buildx build --progress=plain --no-cache \
109+
# --platform linux/${{ matrix.linux_arch }} \
110+
# --build-arg="PLATFORM=${{ matrix.linux_arch == 'arm64' && 'arm64v8' || matrix.linux_arch }}" \
111+
# --build-arg="NODE_VERSION=${{ steps.get_nodejs_version.outputs.version }}" \
112+
# --build-arg="RUN_TEST=true" \
113+
# --output type=local,dest=./prebuilds,platform-split=false \
114+
# -f ./.github/docker/Dockerfile.musl \
115+
# .

0 commit comments

Comments
 (0)