Skip to content

Commit

Permalink
Clean up disk space.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Feb 9, 2024
1 parent 3865842 commit 4c99fb5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ jobs:
runs-on: ubuntu-latest

steps:
# Free up disk space
- name: free-disk-spack
run: |
df -h
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: checkout # This is for getting spack.yaml
uses: actions/checkout@v3
with:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ jobs:
runs-on: ubuntu-20.04

steps:
# Free up disk space
- name: free-disk-spack
run: |
df -h
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: checkout # This is for getting spack.yaml
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 4c99fb5

Please sign in to comment.