Skip to content

Commit

Permalink
nitro-ci-build: extend disk-space changes to all build targets
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-mulligan-arm committed Nov 15, 2021
1 parent 9697dda commit 02d01b4
Showing 1 changed file with 34 additions and 4 deletions.
38 changes: 34 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:

steps:

# Removed pre-installed .Net, Android, and Glasgow Haskell Compiler
- name: free-up disk space
# Remove pre-installed .Net, Android, and Glasgow Haskell Compiler
- name: Free-up disk space
id: disk-space
run: |
sudo rm -rf /usr/share/dotnet
Expand Down Expand Up @@ -67,6 +67,14 @@ jobs:

steps:

# Remove pre-installed .Net, Android, and Glasgow Haskell Compiler
- name: Free-up disk space
id: disk-space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
# Download the artifact containing repo and sdk artifact, using the action from github
- name: Download veracruz cache artifact
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -103,6 +111,14 @@ jobs:

steps:

# Remove pre-installed .Net, Android, and Glasgow Haskell Compiler
- name: Free-up disk space
id: disk-space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
# Download the artifact containing repo and sdk artifact, using the action from github
- name: Download veracruz cache artifact
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -138,6 +154,14 @@ jobs:
- ${{ github.workspace }}:/work/veracruz
needs: [check-repo-and-compile-sdk]
steps:
# Remove pre-installed .Net, Android, and Glasgow Haskell Compiler
- name: Free-up disk space
id: disk-space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
# Download the artifact containing repo and sdk artifact, using the action from github
- name: Download veracruz cache artifact
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -188,6 +212,14 @@ jobs:

steps:

# Remove pre-installed .Net, Android, and Glasgow Haskell Compiler
- name: Free-up disk space
id: disk-space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
# Download the artifact containing repo and sdk artifact, using the action from github
- name: Download veracruz cache artifact
uses: actions/download-artifact@v2
Expand All @@ -209,5 +241,3 @@ jobs:
cd /work/veracruz
make nitro
make nitro-cli

0 comments on commit 02d01b4

Please sign in to comment.