Skip to content

Commit

Permalink
Free disk space for nvhpc
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Feb 13, 2025
1 parent 9be9469 commit cf9cc1d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,26 @@ jobs:
path: ${{ env.DEPS_DIR }}
key: deps-${{ matrix.os }}-${{ matrix.compiler }}-v1


- name: Free Disk Space (Ubuntu)
# Free up disk space for nvhpc
uses: jlumbroso/free-disk-space@main
if: contains( matrix.compiler, 'nvhpc' )
continue-on-error: true
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true

- name: Install NVHPC compiler
if: contains( matrix.compiler, 'nvhpc' )
shell: bash -eux {0}
Expand Down

0 comments on commit cf9cc1d

Please sign in to comment.