Add dependencies for uucore to coverage build

This commit is contained in:
Martin Kunkel 2025-12-08 21:05:21 +00:00 committed by Martin Kunkel
parent c31de82629
commit 25cf0cdd30
2 changed files with 5 additions and 2 deletions

View file

@ -17,6 +17,7 @@ RUN apt-get update \
libcap-dev \
libexpect-perl \
libselinux1-dev \
libsystemd-dev \
python3-pyinotify \
quilt \
texinfo \

View file

@ -585,7 +585,7 @@ jobs:
- { os: ubuntu-latest , target: x86_64-unknown-redox , features: feat_os_unix_redox , use-cross: redoxer , skip-tests: true }
- { os: ubuntu-latest , target: wasm32-unknown-unknown , default-features: false, features: uucore/format, skip-tests: true, skip-package: true, skip-publish: true }
- { os: macos-latest , target: aarch64-apple-darwin , features: feat_os_macos, workspace-tests: true } # M1 CPU
# PR #7964: Mac should still build even if the feature is not enabled. Do not publish this.
# PR #7964: Mac should still build even if the feature is not enabled. Do not publish this.
- { os: macos-latest , target: aarch64-apple-darwin , workspace-tests: true, skip-publish: true } # M1 CPU
- { os: macos-latest , target: x86_64-apple-darwin , features: feat_os_macos, workspace-tests: true }
- { os: windows-latest , target: i686-pc-windows-msvc , features: feat_os_windows }
@ -1099,7 +1099,9 @@ jobs:
case '${{ matrix.job.os }}' in
ubuntu-latest)
sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
# selinux and systemd headers needed to build tests
sudo apt-get -y update
sudo apt-get -y install libselinux1-dev libsystemd-dev
# pinky is a tool to show logged-in users from utmp, and gecos fields from /etc/passwd.
# In GitHub Action *nix VMs, no accounts log in, even the "runner" account that runs the commands, and "system boot" entry is missing.
# The account also has empty gecos fields.