diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 9753c787..97bd0ee9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -209,6 +209,8 @@ jobs: - name: Set up QEMU if: runner.os == 'Linux' && matrix.docker == true && matrix.arch == 'arm64' uses: docker/setup-qemu-action@v3 + with: + image: tonistiigi/binfmt:qemu-v8.1.5 - name: Set up Docker Buildx if: runner.os == 'Linux' && matrix.docker == true && matrix.arch == 'arm64' uses: docker/setup-buildx-action@v3 @@ -217,7 +219,7 @@ jobs: run: docker run -v $PWD:/home/node/app --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }} /bin/bash -c 'npm config set cache /tmp && 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 # Setting the cache location is a workaround for node 16 install errors https://github.com/npm/cli/issues/5114 - 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 gcompat && cd /home/node/app && ./script/ci/download-standalone-and-test.sh' + 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 gcompat libc6-compat gzip file protoc protobuf-dev && cd /home/node/app && ./script/ci/download-standalone-and-test.sh' # release_dry_run: # runs-on: ubuntu-latest