Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.

Commit 3d442b4

Browse files
authored
Run qemu with tmpfs (#89)
1 parent 5917e5e commit 3d442b4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,12 @@ jobs:
233233
docker run --rm \
234234
--env "GH_BEARER_TOKEN=$GH_BEARER_TOKEN" \
235235
--platform ${{ matrix.platform }} \
236-
--volume "$PWD:$PWD" \
236+
--mount type=bind,source="$PWD",target="$PWD" \
237+
--mount type=tmpfs,destination=/root/.pub-cache \
238+
--mount type=tmpfs,destination=/tmp \
237239
--workdir "$PWD" \
238240
docker.io/library/dart:latest \
239-
/bin/sh -c "dart pub get && dart run grinder pkg-github-linux-${{ matrix.arch }}"
241+
/bin/sh -c "cp -R . /tmp/workspace && cd /tmp/workspace && dart pub get && dart run grinder pkg-github-linux-${{ matrix.arch }}"
240242
env: {GH_BEARER_TOKEN: "${{ github.token }}"}
241243

242244
deploy_github_macos:

0 commit comments

Comments
 (0)