Skip to content

Commit

Permalink
ci: test all the ubuntu node version/combos
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Feb 12, 2024
1 parent 3a78204 commit f572523
Showing 1 changed file with 51 additions and 51 deletions.
102 changes: 51 additions & 51 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,21 @@ jobs:
# - os: windows-latest
# arch: amd64
# node-version: 16
# - os: ubuntu-latest
# arch: amd64
# musl: false
# docker: false
# node-version: 16
# - os: ubuntu-latest
# arch: arm64
# musl: false
# docker: true
# node-version: 16
# - os: ubuntu-latest
# arch: arm64
# musl: true
# docker: true
# node-version: 16
- os: ubuntu-latest
arch: amd64
musl: false
docker: false
node-version: 16
- os: ubuntu-latest
arch: arm64
musl: false
docker: true
node-version: 16
- os: ubuntu-latest
arch: arm64
musl: true
docker: true
node-version: 16
- os: ubuntu-latest
arch: amd64
musl: true
Expand All @@ -129,21 +129,21 @@ jobs:
# - os: windows-latest
# arch: amd64
# node-version: 18
# - os: ubuntu-latest
# arch: amd64
# musl: false
# docker: false
# node-version: 18
# - os: ubuntu-latest
# arch: arm64
# musl: false
# docker: true
# node-version: 18
# - os: ubuntu-latest
# arch: arm64
# musl: true
# docker: true
# node-version: 18
- os: ubuntu-latest
arch: amd64
musl: false
docker: false
node-version: 18
- os: ubuntu-latest
arch: arm64
musl: false
docker: true
node-version: 18
- os: ubuntu-latest
arch: arm64
musl: true
docker: true
node-version: 18
- os: ubuntu-latest
arch: amd64
musl: true
Expand All @@ -158,26 +158,26 @@ jobs:
# - os: windows-latest
# arch: amd64
# node-version: 20
# - os: ubuntu-latest
# arch: amd64
# musl: false
# docker: false
# node-version: 20
# - os: ubuntu-latest
# arch: arm64
# musl: false
# docker: true
# node-version: 20
# - os: ubuntu-latest
# arch: arm64
# musl: true
# docker: true
# node-version: 20
# - os: ubuntu-latest
# arch: amd64
# musl: true
# docker: true
# node-version: 20
- os: ubuntu-latest
arch: amd64
musl: false
docker: false
node-version: 20
- os: ubuntu-latest
arch: arm64
musl: false
docker: true
node-version: 20
- os: ubuntu-latest
arch: arm64
musl: true
docker: true
node-version: 20
- os: ubuntu-latest
arch: amd64
musl: true
docker: true
node-version: 20
env:
NODE_VERSION: ${{ matrix.node-version }}

Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
name: test arm64
run: docker run -v $PWD:/home/node/app --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }} /bin/bash -c 'chown -R 1001:127 /root/.npm && apt install -y shared-mime-info && cd /home/node/app && ./script/ci/download-standalone-and-test.sh'
- if: runner.os == 'Linux' && matrix.docker == true && matrix.musl == true
name: test linux ${{ matrix.arch }} musl
name: test linux ${{ matrix.arch }} musl # Setting the cache location is a workaround for node 16 install errors
run: docker run -v $PWD:/home/node/app --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }}-alpine /bin/sh -c 'npm config set cache /tmp && apk add bash curl shared-mime-info && cd /home/node/app && ./script/ci/download-standalone-and-test.sh'

# release_dry_run:
Expand Down

0 comments on commit f572523

Please sign in to comment.