Skip to content

Commit 2b02d9b

Browse files
committed
disk space check
1 parent 8098ebb commit 2b02d9b

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@ jobs:
1717
runs-on: 'ubuntu-latest'
1818
steps:
1919
- uses: actions/checkout@v4
20+
- name: disk check
21+
run: df -H
2022
- name: Free Disk Space (Ubuntu)
2123
uses: jlumbroso/[email protected]
24+
- name: disk check
25+
run: df -H
2226
- name: devbox installer
2327
uses: jetify-com/[email protected]
2428
with:
2529
enable-cache: 'false'
26-
- name: Nix GC (pre-build)
27-
run: |
28-
nix-collect-garbage -d || true
29-
du -sh /nix/store || true
30+
- name: disk check
31+
run: df -H
3032
- name: build
3133
run: devbox run build
3234

@@ -47,20 +49,29 @@ jobs:
4749
ios-runtime: "26.1"
4850
steps:
4951
- uses: actions/checkout@v4
52+
53+
- name: disk check
54+
run: df -H
5055
- name: Free Disk Space
5156
run: |
5257
sudo rm -rf /usr/share/dotnet
5358
sudo rm -rf /opt/ghc
5459
sudo rm -rf "/usr/local/share/boost"
5560
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
61+
- name: disk check
62+
run: df -H
5663
- uses: maxim-lobanov/setup-xcode@v1
5764
with:
5865
xcode-version: '26.1.1'
66+
- name: disk check
67+
run: df -H
5968
- name: devbox installer
6069
uses: jetify-com/[email protected]
6170
with:
6271
enable-cache: 'false'
6372
# --omit-nix-env is important to use the macos system c toolchain instead of the nix toolchain
73+
- name: disk check
74+
run: df -H
6475
- name: iOS E2E Tests
6576
env:
6677
DETOX_IOS_DEVICE: ${{ matrix.ios-device }}
@@ -81,19 +92,17 @@ jobs:
8192
start-script: start-android-latest
8293
steps:
8394
- uses: actions/checkout@v4
95+
- name: disk check
96+
run: df -H
8497
- name: devbox installer
8598
uses: jetify-com/[email protected]
8699
with:
87100
enable-cache: 'false'
88-
- name: Nix GC (pre-build)
89-
run: |
90-
nix-collect-garbage -d || true
91-
du -sh /nix/store || true
92-
- name: Disk space (start)
93-
run: |
94-
df -h
95-
df -h /nix/store || true
101+
- name: disk check
102+
run: df -H
96103
- name: Android E2E Tests
97104
env:
98105
DETOX_AVD: ${{ matrix.avd-name }}
99106
run: devbox run test-android
107+
- name: disk check
108+
run: df -H

0 commit comments

Comments
 (0)