Skip to content

Commit cb74cc4

Browse files
authored
Run qemu in tmpfs (#1707)
1 parent 46c2c9b commit cb74cc4

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
@@ -315,10 +315,12 @@ jobs:
315315
--env "GH_TOKEN=$GH_TOKEN" \
316316
--env "GH_USER=$GH_USER" \
317317
--platform ${{ matrix.platform }} \
318-
--volume "$PWD:$PWD" \
318+
--mount type=bind,source="$PWD",target="$PWD" \
319+
--mount type=tmpfs,destination=/root/.pub-cache \
320+
--mount type=tmpfs,destination=/tmp \
319321
--workdir "$PWD" \
320322
docker.io/library/dart:latest \
321-
/bin/sh -c "dart pub get && dart run grinder pkg-github-linux-${{ matrix.arch }}"
323+
/bin/sh -c "cp -R . /tmp/workspace && cd /tmp/workspace && dart pub get && dart run grinder pkg-github-linux-${{ matrix.arch }}"
322324
env:
323325
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
324326
GH_USER: sassbot

0 commit comments

Comments
 (0)