From 7db6d8bbc49b448e41ac3dd6dd216f790a63de23 Mon Sep 17 00:00:00 2001 From: Owen Avery Date: Tue, 22 Jul 2025 21:41:54 -0400 Subject: [PATCH] ci: Compile with checking enabled It looks like the sourceware runners are compiling with checking, and that may be why they error out where we don't. Regardless, this should make our CI more sensitive to bugs. ChangeLog: * .github/workflows/ccpp.yml: Configure with --enable-checking=yes. * .github/workflows/ccpp32alpine.yml: Likewise. Signed-off-by: Owen Avery --- .github/workflows/ccpp.yml | 14 ++++++++++---- .github/workflows/ccpp32alpine.yml | 1 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 6d110a7a5cec..b912d7ba48cf 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -54,7 +54,8 @@ jobs: ../configure \ --enable-languages=rust \ --disable-bootstrap \ - --enable-multilib + --enable-multilib \ + --enable-checking=yes - name: Build shell: bash @@ -140,7 +141,8 @@ jobs: ../configure \ --enable-languages=rust \ --disable-bootstrap \ - --enable-multilib + --enable-multilib \ + --enable-checking=yes - name: Build shell: bash @@ -224,7 +226,8 @@ jobs: ../configure \ --enable-languages=rust \ --disable-bootstrap \ - --enable-multilib + --enable-multilib \ + --enable-checking=yes - name: Build shell: bash @@ -334,7 +337,8 @@ jobs: ../configure \ --enable-languages=rust \ --disable-bootstrap \ - --enable-multilib + --enable-multilib \ + --enable-checking=yes - name: Build shell: bash @@ -397,6 +401,7 @@ jobs: --enable-languages=rust \ --disable-bootstrap \ --enable-multilib \ + --enable-checking=yes \ --with-native-system-header-dir=/usr/include \ --with-sysroot=$(xcrun --show-sdk-path) @@ -471,6 +476,7 @@ jobs: --enable-languages=rust \ --disable-bootstrap \ --enable-multilib \ + --enable-checking=yes \ --with-build-config=../.github/no-bootstrap-asan - name: Build diff --git a/.github/workflows/ccpp32alpine.yml b/.github/workflows/ccpp32alpine.yml index 5eb0c230df23..e667807c2b36 100644 --- a/.github/workflows/ccpp32alpine.yml +++ b/.github/workflows/ccpp32alpine.yml @@ -65,6 +65,7 @@ jobs: ../configure \ --host=i586-alpine-linux-musl --build=i586-alpine-linux-musl --target=i586-alpine-linux-musl \ --enable-languages=rust \ + --enable-checking=yes \ --disable-bootstrap \ --disable-multilib # Try to disable multilib on alpine https://github.com/conan-io/conan/issues/14307#issuecomment-1652433132 shell: alpine.sh {0}