mirror of
git://github.com/lxc/lxc
synced 2025-08-30 18:09:34 +00:00
ci: enable PAM
to make sure pam_cgfs is buildable with ASan/UBsan too Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qq gcc clang
|
||||
sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev libselinux1-dev linux-libc-dev docbook2x
|
||||
sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev libselinux1-dev linux-libc-dev libpam0g-dev docbook2x
|
||||
|
||||
- name: Compiler version
|
||||
env:
|
||||
@@ -55,6 +55,6 @@ jobs:
|
||||
make DESTDIR="${BUILD}/install" install
|
||||
|
||||
cd "${SAN_BUILD}"
|
||||
CFLAGS="$CFLAGS -fsanitize=address,undefined" ../configure --disable-no-undefined --enable-tests --with-distro=unknown
|
||||
CFLAGS="$CFLAGS -fsanitize=address,undefined" ../configure --disable-no-undefined --enable-pam --enable-tests --with-distro=unknown
|
||||
make -j4
|
||||
make DESTDIR="${SAN_BUILD}/install" install
|
||||
|
Reference in New Issue
Block a user