Skip to content

Commit

Permalink
Merge pull request #341 from eqlabs/adjust_swap
Browse files Browse the repository at this point in the history
ci: try adjust swap more
  • Loading branch information
Joonas Koivunen authored Jun 6, 2022
2 parents 3a03a0f + ef96b93 commit e39322d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@ jobs:
steps:
- name: Free up space
run: |
echo "before freeing up space:"
df -h
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
echo "after freeing up space:"
df -h
# Workaround for https://github.com/rust-lang/cargo/issues/8719
- name: Set Swap Space
uses: pierotofy/set-swap-space@v1.0
with:
swap-size-gb: 20
- run: |
sudo mkdir -p /var/lib/docker
sudo mount -t tmpfs -o size=10G none /var/lib/docker
sudo systemctl restart docker
swap-size-gb: 14
- name: Checkout sources
uses: actions/checkout@v2
- name: Set up QEMU
Expand Down

0 comments on commit e39322d

Please sign in to comment.