fix: temporarily remove docker-basd tests

This commit is contained in:
DecDuck
2025-03-31 09:06:17 +11:00
parent 0c3196ba7d
commit 7896f11207

View File

@ -160,180 +160,180 @@ jobs:
shell: bash shell: bash
- name: Test bindings - name: Test bindings
run: yarn test run: yarn test
test-linux-x64-gnu-binding: # test-linux-x64-gnu-binding:
name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }} # name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
needs: # needs:
- build # - build
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
node: # node:
- "18" # - "18"
- "20" # - "20"
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Setup node # - name: Setup node
uses: actions/setup-node@v4 # uses: actions/setup-node@v4
with: # with:
node-version: ${{ matrix.node }} # node-version: ${{ matrix.node }}
cache: yarn # cache: yarn
- name: Install dependencies # - name: Install dependencies
run: yarn install # run: yarn install
- name: Download artifacts # - name: Download artifacts
uses: actions/download-artifact@v4 # uses: actions/download-artifact@v4
with: # with:
name: bindings-x86_64-unknown-linux-gnu # name: bindings-x86_64-unknown-linux-gnu
path: . # path: .
- name: List packages # - name: List packages
run: ls -R . # run: ls -R .
shell: bash # shell: bash
- name: Test bindings # - name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build public.ecr.aws/docker/library/node:${{ matrix.node }}-slim yarn test # run: docker run --rm -v $(pwd):/build -w /build public.ecr.aws/docker/library/node:${{ matrix.node }}-slim yarn test
test-linux-x64-musl-binding: # test-linux-x64-musl-binding:
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} # name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
needs: # needs:
- build # - build
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
node: # node:
- "18" # - "18"
- "20" # - "20"
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Setup node # - name: Setup node
uses: actions/setup-node@v4 # uses: actions/setup-node@v4
with: # with:
node-version: ${{ matrix.node }} # node-version: ${{ matrix.node }}
cache: yarn # cache: yarn
- name: Install dependencies # - name: Install dependencies
run: | # run: |
yarn config set supportedArchitectures.libc "musl" # yarn config set supportedArchitectures.libc "musl"
yarn install # yarn install
- name: Download artifacts # - name: Download artifacts
uses: actions/download-artifact@v4 # uses: actions/download-artifact@v4
with: # with:
name: bindings-x86_64-unknown-linux-musl # name: bindings-x86_64-unknown-linux-musl
path: . # path: .
- name: List packages # - name: List packages
run: ls -R . # run: ls -R .
shell: bash # shell: bash
- name: Test bindings # - name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build public.ecr.aws/docker/library/node:${{ matrix.node }}-alpine yarn test # run: docker run --rm -v $(pwd):/build -w /build public.ecr.aws/docker/library/node:${{ matrix.node }}-alpine yarn test
test-linux-aarch64-gnu-binding: # test-linux-aarch64-gnu-binding:
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }} # name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
needs: # needs:
- build # - build
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
node: # node:
- "18" # - "18"
- "20" # - "20"
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Download artifacts # - name: Download artifacts
uses: actions/download-artifact@v4 # uses: actions/download-artifact@v4
with: # with:
name: bindings-aarch64-unknown-linux-gnu # name: bindings-aarch64-unknown-linux-gnu
path: . # path: .
- name: List packages # - name: List packages
run: ls -R . # run: ls -R .
shell: bash # shell: bash
- name: Install dependencies # - name: Install dependencies
run: | # run: |
yarn config set supportedArchitectures.cpu "arm64" # yarn config set supportedArchitectures.cpu "arm64"
yarn config set supportedArchitectures.libc "glibc" # yarn config set supportedArchitectures.libc "glibc"
yarn install # yarn install
- name: Set up QEMU # - name: Set up QEMU
uses: docker/setup-qemu-action@v3 # uses: docker/setup-qemu-action@v3
with: # with:
platforms: arm64 # platforms: arm64
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes # - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Setup and run tests # - name: Setup and run tests
uses: addnab/docker-run-action@v3 # uses: addnab/docker-run-action@v3
with: # with:
image: public.ecr.aws/docker/library/node:${{ matrix.node }}-slim # image: public.ecr.aws/docker/library/node:${{ matrix.node }}-slim
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build" # options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: | # run: |
set -e # set -e
yarn test # yarn test
ls -la # ls -la
test-linux-aarch64-musl-binding: # test-linux-aarch64-musl-binding:
name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }} # name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }}
needs: # needs:
- build # - build
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Download artifacts # - name: Download artifacts
uses: actions/download-artifact@v4 # uses: actions/download-artifact@v4
with: # with:
name: bindings-aarch64-unknown-linux-musl # name: bindings-aarch64-unknown-linux-musl
path: . # path: .
- name: List packages # - name: List packages
run: ls -R . # run: ls -R .
shell: bash # shell: bash
- name: Install dependencies # - name: Install dependencies
run: | # run: |
yarn config set supportedArchitectures.cpu "arm64" # yarn config set supportedArchitectures.cpu "arm64"
yarn config set supportedArchitectures.libc "musl" # yarn config set supportedArchitectures.libc "musl"
yarn install # yarn install
- name: Set up QEMU # - name: Set up QEMU
uses: docker/setup-qemu-action@v3 # uses: docker/setup-qemu-action@v3
with: # with:
platforms: arm64 # platforms: arm64
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes # - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Setup and run tests # - name: Setup and run tests
uses: addnab/docker-run-action@v3 # uses: addnab/docker-run-action@v3
with: # with:
image: node:lts-alpine # image: node:lts-alpine
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build" # options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: | # run: |
set -e # set -e
yarn test # yarn test
test-linux-arm-gnueabihf-binding: # test-linux-arm-gnueabihf-binding:
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} # name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
needs: # needs:
- build # - build
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
node: # node:
- "18" # - "18"
- "20" # - "20"
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Download artifacts # - name: Download artifacts
uses: actions/download-artifact@v4 # uses: actions/download-artifact@v4
with: # with:
name: bindings-armv7-unknown-linux-gnueabihf # name: bindings-armv7-unknown-linux-gnueabihf
path: . # path: .
- name: List packages # - name: List packages
run: ls -R . # run: ls -R .
shell: bash # shell: bash
- name: Install dependencies # - name: Install dependencies
run: | # run: |
yarn config set supportedArchitectures.cpu "arm" # yarn config set supportedArchitectures.cpu "arm"
yarn install # yarn install
- name: Set up QEMU # - name: Set up QEMU
uses: docker/setup-qemu-action@v3 # uses: docker/setup-qemu-action@v3
with: # with:
platforms: arm # platforms: arm
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes # - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Setup and run tests # - name: Setup and run tests
uses: addnab/docker-run-action@v3 # uses: addnab/docker-run-action@v3
with: # with:
image: public.ecr.aws/docker/library/node:${{ matrix.node }}-bullseye-slim # image: public.ecr.aws/docker/library/node:${{ matrix.node }}-bullseye-slim
options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build" # options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build"
run: | # run: |
set -e # set -e
yarn test # yarn test
ls -la # ls -la
universal-macOS: universal-macOS:
name: Build universal macOS binary name: Build universal macOS binary
needs: needs: