From: Lucas De Marchi Date: Thu, 27 Feb 2025 16:47:08 +0000 (-0600) Subject: ci: Switch most builds to 64b X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b603b3c30f3c24b0dd1547e2c2f0a1bc9da08ae;p=thirdparty%2Fkmod.git ci: Switch most builds to 64b Due to a mistake on using "multilib" fixed in commit 271d8ab ("ci: Fix 32b build ignoring options") and commit 6897912 ("ci: s/multilib/x32/"), most of our builds were actually testing 32b, which is not the most common thing. Leave just 2 32b builds, one with Archlinux and the other with Ubuntu and remove the FIXME about configuration. Signed-off-by: Lucas De Marchi --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1189299e..20f298d8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,14 +30,8 @@ jobs: meson_setup: '-Ddocs=false -Db_sanitize=none' - compiler: 'gcc' container: 'archlinux:multilib-devel' - - compiler: 'gcc' - container: 'archlinux:multilib-devel' - x32: 'true' - # for x32, fails on LD_PRELOAD - skip_test: 'true' - compiler: 'gcc' container: 'debian:unstable' - x32: 'true' - compiler: 'gcc' container: 'debian:bullseye-slim' meson_setup: '-Dzstd=disabled -Dxz=disabled -Dzlib=disabled -Dopenssl=enabled -Dtools=true' @@ -48,28 +42,25 @@ jobs: meson_setup: '-Dxz=disabled -Ddlopen=all' - compiler: 'gcc' container: 'ubuntu:22.04' - x32: 'true' - compiler: 'gcc' container: 'ubuntu:22.04' - x32: 'true' meson_setup: '-Ddlopen=zstd,zlib' - compiler: 'gcc' container: 'ubuntu:24.04' - x32: 'true' + + # clang variations of the same builds - compiler: 'clang' container: 'alpine:latest' meson_setup: '-Ddocs=false -Db_sanitize=none' - compiler: 'clang' container: 'archlinux:multilib-devel' - - compiler: 'clang' - container: 'archlinux:multilib-devel' - # for x32, fails on LD_PRELOAD - skip_test: 'true' - x32: 'true' - compiler: 'clang' container: 'debian:unstable' - x32: 'true' + # Disabled because it doesn't work + # - compiler: 'clang' + # container: 'debian:bullseye-slim' + # meson_setup: '-Dzstd=disabled -Dxz=disabled -Dzlib=disabled -Dopenssl=enabled -Dtools=true' - compiler: 'clang' container: 'fedora:latest' - compiler: 'clang' @@ -77,14 +68,34 @@ jobs: meson_setup: '-Dxz=disabled -Ddlopen=all' - compiler: 'clang' container: 'ubuntu:22.04' - x32: 'true' - compiler: 'clang' container: 'ubuntu:22.04' - x32: 'true' meson_setup: '-Ddlopen=zstd,zlib' + - compiler: 'clang' + container: 'ubuntu:24.04' + + # Test some configurations with 32bits + + - compiler: 'gcc' + container: 'archlinux:multilib-devel' + x32: 'true' + meson_setup: '-Dzstd=disabled -Dxz=disabled -Dzlib=disabled -Dopenssl=disabled' + # fails on LD_PRELOAD + skip_test: 'true' + - compiler: 'gcc' + container: 'ubuntu:24.04' + x32: 'true' + meson_setup: '-Dzstd=disabled -Dxz=disabled -Dzlib=disabled -Dopenssl=disabled' + - compiler: 'clang' + container: 'archlinux:multilib-devel' + x32: 'true' + meson_setup: '-Dzstd=disabled -Dxz=disabled -Dzlib=disabled -Dopenssl=disabled' + # fails on LD_PRELOAD + skip_test: 'true' - compiler: 'clang' container: 'ubuntu:24.04' x32: 'true' + meson_setup: '-Dzstd=disabled -Dxz=disabled -Dzlib=disabled -Dopenssl=disabled' container: image: ${{ matrix.container }} @@ -145,8 +156,6 @@ jobs: if [[ "${{ matrix.x32 }}" == "true" ]]; then export CC="$CC -m32" - # FIXME: we shouldn't need to override and let it per configuration - setup_options+=" -D zstd=disabled -D xz=disabled -D zlib=disabled -D openssl=disabled" fi meson setup --native-file build-dev.ini $setup_options build