File tree Expand file tree Collapse file tree 4 files changed +108
-47
lines changed Expand file tree Collapse file tree 4 files changed +108
-47
lines changed Original file line number Diff line number Diff line change 3636 quayUsername : ${{ secrets.LOCALAI_REGISTRY_USERNAME }}
3737 quayPassword : ${{ secrets.LOCALAI_REGISTRY_PASSWORD }}
3838 strategy :
39- max-parallel : 2
4039 matrix :
4140 include :
4241 - build-type : ' hipblas'
7675 quayUsername : ${{ secrets.LOCALAI_REGISTRY_USERNAME }}
7776 quayPassword : ${{ secrets.LOCALAI_REGISTRY_PASSWORD }}
7877 strategy :
79- max-parallel : ${{ github.event_name != 'pull_request' && 2 || 4 }}
78+ # max-parallel: ${{ github.event_name != 'pull_request' && 2 || 4 }}
8079 matrix :
8180 include :
8281 - build-type : ' '
Original file line number Diff line number Diff line change 8181 reusable_image-build :
8282 runs-on : ${{ inputs.runs-on }}
8383 steps :
84+
85+ - name : Free Disk Space (Ubuntu)
86+ if : inputs.runs-on == 'ubuntu-latest'
87+ uses : jlumbroso/free-disk-space@main
88+ with :
89+ # this might remove tools that are actually needed,
90+ # if set to "true" but frees about 6 GB
91+ tool-cache : true
92+ # all of these default to true, but feel free to set to
93+ # "false" if necessary for your workflow
94+ android : true
95+ dotnet : true
96+ haskell : true
97+ large-packages : true
98+ docker-images : true
99+ swap-storage : true
84100 - name : Force Install GIT latest
85101 run : |
86102 sudo apt-get update \
@@ -102,8 +118,8 @@ jobs:
102118 df -h
103119 echo
104120 sudo apt-get remove -y '^llvm-.*|^libllvm.*' || true
105- sudo apt-get remove --auto-remove android-sdk-platform-tools || true
106- sudo apt-get purge --auto-remove android-sdk-platform-tools || true
121+ sudo apt-get remove --auto-remove android-sdk-platform-tools snapd || true
122+ sudo apt-get purge --auto-remove android-sdk-platform-tools snapd || true
107123 sudo rm -rf /usr/local/lib/android
108124 sudo apt-get remove -y '^dotnet-.*|^aspnetcore-.*' || true
109125 sudo rm -rf /usr/share/dotnet
You can’t perform that action at this time.
0 commit comments