2
0
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:
Evgeny Vereshchagin
2021-03-30 04:07:02 +00:00
parent 7bf9dc49e7
commit b31484bd1b

View File

@@ -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