Run crash test during docker buildx generation

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2023-08-02 18:31:58 +02:00
parent 09096a1d57
commit 86b7f05a73
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
2 changed files with 3 additions and 1 deletions

2
.github/Dockerfile vendored
View File

@ -21,6 +21,8 @@ RUN rm -rf cmake && \
bash test/arch_test.sh && \
# Run full test suite
bash test/run.sh && \
# Run crash test
[[ ./pihole-FTL crash || true ]] && \
# Move FTL binary to root directory
cd / &&\
mv /app/pihole-FTL . && \

View File

@ -110,7 +110,7 @@ elif [[ "${CI_ARCH}" == "linux/386" ]]; then
elif [[ "${CI_ARCH}" == "linux/arm/v5" ]]; then
check_machine "ELF32" "ARM"
check_libs "[libm.so.6] [librt.so.1] [libgcc_s.so.1] [libpthread.so.0] [libc.so.6] [ld-linux.so.3]"
check_libs "[libm.so.6] [librt.so.1] [libdl.so.2] [libgcc_s.so.1] [libpthread.so.0] [libc.so.6] [ld-linux.so.3]"
check_file "ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.0, not stripped"
check_CPU_arch "v4T"