Skip to content

Commit 8e6ce54

Browse files
authored
Clean the env before pulling docker
1 parent e6ee144 commit 8e6ce54

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/kcpp-build-release-linux-rocm.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,31 @@ env:
1919
ARCHES_CU12: 1
2020

2121
jobs:
22+
clean-linux:
23+
runs-on: ubuntu-22.04
24+
permissions: write-all
25+
steps:
26+
- name: Free Disk Space (Ubuntu)
27+
uses: jlumbroso/free-disk-space@main
28+
with:
29+
# this might remove tools that are actually needed,
30+
# if set to "true" but frees about 6 GB
31+
tool-cache: true
32+
33+
# all of these default to true, but feel free to set to
34+
# "false" if necessary for your workflow
35+
android: true
36+
dotnet: true
37+
haskell: true
38+
large-packages: true
39+
docker-images: true
40+
swap-storage: true
2241
linux:
42+
needs: clean-linux
2343
runs-on: ubuntu-22.04
2444
permissions: write-all
2545
container:
26-
image: rocm/dev-ubuntu-22.04:7.0
46+
image: rocm/dev-ubuntu-22.04:7.0-complete
2747
options: --privileged
2848
steps:
2949
- name: Clone

0 commit comments

Comments
 (0)