tests.yml: Remove unnecessary CFLAGS sed.

No longer necessary since -Werror is no longer used.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
Chris PeBenito 2023-04-18 15:03:36 -04:00
parent d67d7071e4
commit ca1ac0369f

View File

@ -80,13 +80,6 @@ jobs:
make CFLAGS="-O2 -pipe -fPIC -Wall -I${SEPOL_SRC}/include" LDFLAGS="-L${SEPOL_SRC}/src" -C ${SELINUX_SRC}
make CFLAGS="-O2 -pipe -fPIC -Wall -I${SEPOL_SRC}/include" -C ${CHECKPOLICY_SRC}
- name: Set up setools for CI build
run: |
sed -i \
-e "/Wwrite-strings/s/,/, '-Wno-maybe-uninitialized',/" \
-e "s/-Wno-cast-function-type/-Wno-missing-include-dirs/" \
setup.py
- name: Run test
run: |
export LD_LIBRARY_PATH="${SEPOL_SRC}/src:${SELINUX_SRC}/src:${LD_LIBRARY_PATH}"