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 <[email protected]> --- .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

