Run qemu with tmpfs (#89)

This commit is contained in:
なつき 2022-05-31 17:56:42 -07:00 committed by GitHub
parent 5917e5ef3c
commit 3d442b402b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,10 +233,12 @@ jobs:
docker run --rm \
--env "GH_BEARER_TOKEN=$GH_BEARER_TOKEN" \
--platform ${{ matrix.platform }} \
--volume "$PWD:$PWD" \
--mount type=bind,source="$PWD",target="$PWD" \
--mount type=tmpfs,destination=/root/.pub-cache \
--mount type=tmpfs,destination=/tmp \
--workdir "$PWD" \
docker.io/library/dart:latest \
/bin/sh -c "dart pub get && dart run grinder pkg-github-linux-${{ matrix.arch }}"
/bin/sh -c "cp -R . /tmp/workspace && cd /tmp/workspace && dart pub get && dart run grinder pkg-github-linux-${{ matrix.arch }}"
env: {GH_BEARER_TOKEN: "${{ github.token }}"}
deploy_github_macos: