[PATCH v4 11/11] ci: check minsize build type in GHA

Thomas Monjalon thomas at monjalon.net
Thu Feb 5 22:27:43 CET 2026


In GitHub Actions, the build for Fedora with GCC is updated
to use the Meson build type "minsize".
This type may have some different requirements (or bugs),
so it is better for its maintenance to test it regularly in the CI.

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 .ci/linux-build.sh          | 2 ++
 .github/workflows/build.yml | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index aac0bd3dc5..e0b914a142 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -85,6 +85,8 @@ buildtype=debugoptimized
 
 if [ "$BUILD_DEBUG" = "true" ]; then
     buildtype=debug
+elif [ "$BUILD_MINSIZE" = "true" ]; then
+    buildtype=minsize
 fi
 
 if [ "$BUILD_DOCS" = "true" ]; then
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ab140f885e..f0142efd3b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -325,6 +325,7 @@ jobs:
         config:
           - image: fedora:43
             compiler: gcc
+            checks: minsize
           - image: fedora:43
             compiler: clang
 
@@ -362,6 +363,7 @@ jobs:
         echo CCACHE_DIR=/root/.ccache >> ~/env
         echo DEF_LIB=${{ matrix.config.library }} >> ~/env
         echo STDATOMIC=false >> ~/env
+        echo BUILD_MINSIZE=${{ contains(matrix.config.checks, 'minsize') }} >> ~/env
     - name: Load the cached image
       run: |
         docker load -i ~/.image/${{ matrix.config.image }}.tar
-- 
2.52.0



More information about the dev mailing list