mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-11 13:59:13 +00:00
Free up CI runner disk space before running UI tests.
This commit is contained in:
parent
4ec6098838
commit
f264c2559c
3
.github/workflows/ui_tests.yml
vendored
3
.github/workflows/ui_tests.yml
vendored
@ -30,6 +30,9 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gems-
|
${{ runner.os }}-gems-
|
||||||
|
|
||||||
|
- name: Free disk space
|
||||||
|
run: ci_scripts/free_space.sh
|
||||||
|
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: source ci_scripts/ci_common.sh && setup_github_actions_environment
|
run: source ci_scripts/ci_common.sh && setup_github_actions_environment
|
||||||
|
|
||||||
|
15
ci_scripts/free_space.sh
Executable file
15
ci_scripts/free_space.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# Taken from
|
||||||
|
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
|
||||||
|
#
|
||||||
|
|
||||||
|
set -ux
|
||||||
|
|
||||||
|
df -h
|
||||||
|
sudo rm -rf /usr/share/dotnet
|
||||||
|
sudo rm -rf /opt/ghc
|
||||||
|
sudo rm -rf "/usr/local/share/boost"
|
||||||
|
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||||
|
df -h
|
Loading…
x
Reference in New Issue
Block a user