diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index b9cfb4e9da..59e4a16d98 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -32,10 +32,7 @@ jobs: - name: Build shadow-utils run: | PROCESSORS=$(/usr/bin/getconf _NPROCESSORS_ONLN) - make -kj$PROCESSORS || true - - - name: Check build errors - run: make + make -Orecurse -j$PROCESSORS - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 diff --git a/share/containers/alpine.dockerfile b/share/containers/alpine.dockerfile index 07d496c3fe..04abd86987 100644 --- a/share/containers/alpine.dockerfile +++ b/share/containers/alpine.dockerfile @@ -9,8 +9,7 @@ COPY ./ /usr/local/src/shadow/ WORKDIR /usr/local/src/shadow/ RUN ./autogen.sh --without-selinux --disable-man --disable-nls --with-yescrypt -RUN make -kj4 || true -RUN make +RUN make -Orecurse -j4 RUN make check RUN make install diff --git a/share/containers/debian.dockerfile b/share/containers/debian.dockerfile index 09492939d0..bf997d7977 100644 --- a/share/containers/debian.dockerfile +++ b/share/containers/debian.dockerfile @@ -15,8 +15,7 @@ COPY ./ /usr/local/src/shadow/ WORKDIR /usr/local/src/shadow/ RUN ./autogen.sh --without-selinux --enable-man --with-yescrypt -RUN make -kj4 || true -RUN make +RUN make -Orecurse -j4 RUN make check RUN make install diff --git a/share/containers/fedora.dockerfile b/share/containers/fedora.dockerfile index 85e8b4808c..f4c91e39c8 100644 --- a/share/containers/fedora.dockerfile +++ b/share/containers/fedora.dockerfile @@ -12,8 +12,7 @@ RUN ./autogen.sh --enable-shadowgrp --enable-man --with-audit \ --with-sha-crypt --with-bcrypt --with-yescrypt --with-selinux \ --without-libpam --enable-shared --without-libbsd \ --with-group-name-max-length=32 --enable-lastlog --enable-logind=no -RUN make -kj4 || true -RUN make +RUN make -Orecurse -j4 RUN make check RUN make install