Skip to content

Commit

Permalink
crux-mir CI: Free up some extra disk space (#1176)
Browse files Browse the repository at this point in the history
These tools take up about 10GB of extra space. We are just barely exceeding
GitHub Action's maximum disk size of 14GB when building the `crux-mir` Docker
image, so having some extra disk space would be welcome indeed.

Fixes #1175.
  • Loading branch information
RyanGlScott authored Feb 19, 2024
1 parent c5dc719 commit 8a7f59f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/crux-mir-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,18 @@ jobs:
with:
submodules: true

- name: Clear up some disk space
run: |
# The crux-mir Docker image is rather large (~1GB compressed), and
# the mere act of building the image requires just over 14 GB of disk
# space, which the maximum provided by a GitHub Action CI runner. To
# clear up some extra space, we delete ~10GB worth of pre-installed
# GitHub Actions tools, none of which we make use of.
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY" # Python installations
- uses: rlespinasse/[email protected]

- id: common-tag
Expand Down

0 comments on commit 8a7f59f

Please sign in to comment.