Skip to content

Commit 23aa047

Browse files
[Wasm] ci: free disk space when running on machine hosted by GH
1 parent 952f156 commit 23aa047

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
run_e2e_test: true
4141
build_hello_wasm: true
4242
clean_build_dir: false
43+
free_disk_space: true
4344

4445
- build_os: ubuntu-20.04
4546
agent_query: ubuntu-20.04
@@ -49,6 +50,7 @@ jobs:
4950
run_e2e_test: true
5051
build_hello_wasm: true
5152
clean_build_dir: false
53+
free_disk_space: true
5254

5355
- build_os: ubuntu-20.04
5456
agent_query: [ubuntu20.04, ARM64]
@@ -93,7 +95,7 @@ jobs:
9395
rm -rf /usr/share/swift/
9496
9597
- name: Free disk space
96-
if: ${{ (matrix.build_os == 'ubuntu-20.04' || matrix.build_os == 'ubuntu-18.04') && matrix.agent_query == null }}
98+
if: ${{ matrix.free_disk_space }}
9799
run: |
98100
df -h
99101
sudo apt-get purge libgcc-9-dev gcc-9 libstdc++-9-dev libgcc-10-dev gcc-10 libstdc++-10-dev clang-6.0 llvm-6.0

0 commit comments

Comments
 (0)