diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index 42519da905..7e6b80bf40 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -195,6 +195,8 @@ jobs: export CARGO_TERM_COLOR=always if (test -z "\$FAULT"); then cargo nextest run --hide-progress-bar --profile ci --features '${{ matrix.job.features }}' || FAULT=1 ; fi if (test -z "\$FAULT"); then cargo nextest run --hide-progress-bar --profile ci --all-features -p uucore || FAULT=1 ; fi + # Test building with make + if (test -z "\$FAULT"); then make PROFILE=ci || FAULT=1 ; fi # Clean to avoid to rsync back the files cargo clean if (test -n "\$FAULT"); then exit 1 ; fi diff --git a/GNUmakefile b/GNUmakefile index 3832f16344..54aea865fd 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -193,9 +193,9 @@ SELINUX_PROGS := \ $(info Detected OS = $(OS)) -# Don't build the SELinux programs on macOS (Darwin) -ifeq ($(OS),Darwin) - SELINUX_PROGS := +# Don't build the SELinux programs on macOS (Darwin) and FreeBSD +ifeq ($(filter $(OS),Darwin FreeBSD),$(OS)) + SELINUX_PROGS := endif ifneq ($(OS),Windows_NT)