Skip to content

Commit

Permalink
Run qemu in tmpfs (#1707)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntkme committed May 31, 2022
1 parent 46c2c9b commit cb74cc4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -315,10 +315,12 @@ jobs:
--env "GH_TOKEN=$GH_TOKEN" \
--env "GH_USER=$GH_USER" \
--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_TOKEN: "${{ secrets.GH_TOKEN }}"
GH_USER: sassbot
Expand Down

0 comments on commit cb74cc4

Please sign in to comment.