diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 3e354c0..022bd98 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -117,7 +117,7 @@ jobs: if: ${{ matrix.settings.docker }} with: image: ${{ matrix.settings.docker }} - options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build' + options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}/node-ffi:/build -w /build' run: ${{ matrix.settings.build }} - name: Build run: ${{ matrix.settings.build }} @@ -203,7 +203,7 @@ jobs: run: ls -R . shell: bash - name: Test bindings - run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim pnpm test + run: docker run --rm -v $(pwd)/node-ffi:/build -w /build node:${{ matrix.node }}-slim pnpm test test-linux-x64-musl-binding: name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} needs: @@ -240,7 +240,7 @@ jobs: run: ls -R . shell: bash - name: Test bindings - run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine pnpm test + run: docker run --rm -v $(pwd)/node-ffi:/build -w /build node:${{ matrix.node }}-alpine pnpm test test-linux-aarch64-gnu-binding: name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }} needs: @@ -279,7 +279,7 @@ jobs: uses: addnab/docker-run-action@v3 with: image: node:${{ matrix.node }}-slim - options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build' + options: '--platform linux/arm64 -v ${{ github.workspace }}/node-ffi:/build -w /build' run: | set -e pnpm test @@ -321,7 +321,7 @@ jobs: uses: addnab/docker-run-action@v3 with: image: node:${{ matrix.node }}-bullseye-slim - options: '--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build' + options: '--platform linux/arm/v7 -v ${{ github.workspace }}/node-ffi:/build -w /build' run: | set -e pnpm test