90
90
with :
91
91
cache-dependency-path : " **/*.sum"
92
92
93
+ - run : sudo apt-get update
94
+
93
95
- name : Login to GitHub Container Registry
94
96
uses : docker/login-action@v3
95
97
with :
@@ -129,6 +131,8 @@ jobs:
129
131
130
132
df -h
131
133
134
+ - run : sudo apt-get install -y btrfs-compsize
135
+
132
136
- name : Mount lvm overlay for podman builds
133
137
run : |
134
138
df -h
@@ -280,6 +284,9 @@ jobs:
280
284
281
285
- name : " push|schedule|workflow_dispatch: make ${{ inputs.target }}"
282
286
run : |
287
+ # print running stats on disk occupancy
288
+ (while true; do df -h | grep "${HOME}/.local/share/containers"; sleep 30; done) &
289
+
283
290
make ${{ inputs.target }}
284
291
if : ${{ fromJson(inputs.github).event_name == 'push' ||
285
292
fromJson(inputs.github).event_name == 'schedule' ||
@@ -289,6 +296,9 @@ jobs:
289
296
CONTAINER_BUILD_CACHE_ARGS : " --cache-from ${{ env.CACHE }} --cache-to ${{ env.CACHE }}"
290
297
- name : " pull_request: make ${{ inputs.target }}"
291
298
run : |
299
+ # print running stats on disk occupancy
300
+ (while true; do df -h | grep "${HOME}/.local/share/containers"; sleep 30; done) &
301
+
292
302
make ${{ inputs.target }}
293
303
if : " ${{ fromJson(inputs.github).event_name == 'pull_request' ||
294
304
fromJson(inputs.github).event_name == 'pull_request_target' }}"
@@ -605,3 +615,6 @@ jobs:
605
615
606
616
- run : df -h
607
617
if : " ${{ !cancelled() }}"
618
+
619
+ - run : sudo compsize -x "${HOME}/.local/share/containers"
620
+ if : " ${{ !cancelled() }}"
0 commit comments