Skip to content

Commit aeac123

Browse files
committed
ci(quality): revert aggressive doc/man/locale cleanup that broke ROS apt install
The aggressive disk cleanup in the prior commit rm'd /usr/share/doc, /usr/share/man and /usr/share/locale. dpkg postinstall scripts for ros-jazzy-desktop, openjdk-21, libvtk9 and libpcl-dev fail when those trees are missing - the ASan job aborted after 5 min in 'Set up ROS 2 Jazzy' with dpkg returning 100 on every dependency. Roll those three rm -rf paths back. Keep the RelWithDebInfo build-type change (which was the actual fix for the ASan disk-space failure) and the df -h diagnostic.
1 parent d233895 commit aeac123

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/quality.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,10 @@ jobs:
229229
steps:
230230
- name: Free disk space
231231
run: |
232+
# Host paths are no-ops inside the container - safe to keep
233+
# for the case where the workflow is run without `container:`.
232234
rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc || true
233235
apt-get clean
234-
# Container-level cleanup so the ASan build (large debug-info
235-
# binaries) has room on the overlay filesystem. The host /
236-
# is only ~14 GB on github-hosted runners.
237-
rm -rf /var/cache/apt/* /var/lib/apt/lists/* || true
238-
rm -rf /usr/share/doc/* /usr/share/man/* /usr/share/locale/* || true
239236
df -h /
240237
241238
- name: Install Git

0 commit comments

Comments
 (0)