From aebdcd55ced193d553ff55ddb66a0e54f21a26d6 Mon Sep 17 00:00:00 2001 From: alberic89 Date: Sun, 31 Aug 2025 15:15:52 +0200 Subject: [PATCH] fix: downgrade ubuntu version for appimage build If the AppImage is built with a too recent version of the glibc, it will not run on an older system. For more details, see https://docs.appimage.org/introduction/concepts.html#build-on-old-systems-run-on-newer-systems --- .ci_scripts/package.sh | 2 +- .github/workflows/gnulinux.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci_scripts/package.sh b/.ci_scripts/package.sh index 4ade8a3863c..f090f1d524e 100755 --- a/.ci_scripts/package.sh +++ b/.ci_scripts/package.sh @@ -21,7 +21,7 @@ if [ "$SOURCE" = "ON" ]; then cpack --config CPackSourceConfig.cmake -G TGZ; fi -if ([ "$OS_NAME" = "ubuntu-latest" ]) && [ "$PACKAGE" = "ON" ]; then +if ([[ "$OS_NAME" = "ubuntu"* ]]) && [ "$PACKAGE" = "ON" ]; then ../.ci_scripts/build_appimage.sh # extract built appimages for uploading mv ~/out/* . diff --git a/.github/workflows/gnulinux.yml b/.github/workflows/gnulinux.yml index 2fbbc269569..944c93345a0 100644 --- a/.github/workflows/gnulinux.yml +++ b/.github/workflows/gnulinux.yml @@ -33,11 +33,11 @@ jobs: # TODO Working Linux 32-bit packaging # TODO CTest & coverage workflow implement arch: [32, 64] - os: [ubuntu-latest] + os: [ubuntu-22.04] compiler: [gcc, clang] build_type: [Debug, Release] include: - - os: ubuntu-latest + - os: ubuntu-22.04 build_type: Release compiler: gcc arch: 64