diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 17cb2f2cc8..ed99a41598 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml @@ -72,4 +72,4 @@ jobs: - name: make install run: sudo make install - name: print version - run: make print-version + run: make installcheck diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 070a14c948..a6bd06bc8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -88,4 +88,4 @@ jobs: - name: make install run: sudo make install - name: print version - run: make print-version + run: make installcheck diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1cf3b4cac9..3beb8c25ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,7 +82,7 @@ jobs: - name: make install run: sudo make install - name: print version - run: make print-version + run: make installcheck - run: make lab-setup - run: make test-seccomp-extra - run: make test-firecfg @@ -131,7 +131,7 @@ jobs: - name: make install run: sudo make install - name: print version - run: make print-version + run: make installcheck - run: make lab-setup - run: make test-private-etc - run: make test-fs @@ -171,7 +171,7 @@ jobs: - name: make install run: sudo make install - name: print version - run: make print-version + run: make installcheck - run: make lab-setup - run: make test-environment - run: make test-profiles @@ -214,7 +214,7 @@ jobs: - name: make install run: sudo make install - name: print version - run: make print-version + run: make installcheck - run: make lab-setup - run: make test-utils @@ -261,7 +261,7 @@ jobs: - name: make install run: sudo make install - name: print version - run: make print-version + run: make installcheck - run: make lab-setup - run: make test-fnetfilter - run: make test-sysutils diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66401c9c9c..b9a1b8b078 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ build_ubuntu_package: - make dist - ./mkdeb.sh --enable-fatal-warnings - dpkg -i ./*.deb - - make print-version + - make installcheck build_debian_package: image: debian:buster @@ -43,7 +43,7 @@ build_debian_package: - make dist - ./mkdeb.sh --enable-fatal-warnings - dpkg -i ./*.deb - - make print-version + - make installcheck build_no_apparmor: image: ubuntu:latest @@ -63,8 +63,8 @@ build_no_apparmor: ./mkdeb.sh --enable-fatal-warnings --disable-apparmor - dpkg -i ./*.deb - - make print-version - - make print-version | grep -F 'AppArmor support is disabled' + - make installcheck + - make installcheck | grep -F 'AppArmor support is disabled' build_redhat_package: image: almalinux:latest @@ -77,7 +77,7 @@ build_redhat_package: - make dist - ./platform/rpm/mkrpm.sh --enable-fatal-warnings - rpm -i ./*.rpm - - make print-version + - make installcheck build_fedora_package: image: fedora:latest @@ -90,7 +90,7 @@ build_fedora_package: - make dist - ./platform/rpm/mkrpm.sh --enable-fatal-warnings - rpm -i ./*.rpm - - make print-version + - make installcheck # FIXME: Cannot build src/libtrace with musl (see #6610). #build_src_package: @@ -108,7 +108,7 @@ build_fedora_package: # || (cat config.log; exit 1) # - make # - make install-strip -# - make print-version +# - make installcheck debian_ci: image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest diff --git a/Makefile b/Makefile index d93f28b227..fe7c5a46c5 100644 --- a/Makefile +++ b/Makefile @@ -400,8 +400,8 @@ codespell: print-env: ./ci/printenv.sh -.PHONY: print-version -print-version: config.mk +.PHONY: installcheck +installcheck: config.mk command -V $(TARNAME) && $(TARNAME) --version # diff --git a/gcov.sh b/gcov.sh index b4ac9eade5..61cb39a9c4 100755 --- a/gcov.sh +++ b/gcov.sh @@ -27,7 +27,7 @@ make -j "$(nproc)" && sudo make install rm -fr gcov-dir gcov-file -make print-version +make installcheck gcov_generate make test-firecfg | grep TESTING