Truly independent web browser
CI: Build Ubuntu 24.04 release packages
Timothy Flynn311015008934
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.ymlindex ca54685eb43..1de813d48dc 100644--- a/.github/actions/build/action.yml+++ b/.github/actions/build/action.yml@@ -62,6 +62,16 @@ runs:run: |CMAKE_OPTIONS="-DLADYBIRD_BASELINE_CPU_TARGET=ON"if ${{ inputs.os == 'Linux' }} ; then+ if ${{ inputs.build_preset == 'Distribution' }} && [[ -r /etc/os-release ]]; then+ # shellcheck source=/dev/null+ . /etc/os-release++ # Ubuntu 26.04 is the first release with Qt 6.10 or newer.+ if [[ "${ID:-}" == 'ubuntu' && -n "${VERSION_ID:-}" ]] && dpkg --compare-versions "$VERSION_ID" lt 26; then+ CMAKE_OPTIONS="$CMAKE_OPTIONS -DLADYBIRD_BUILD_QT=ON"+ fi+ fi+# FIXME: https://github.com/WebAssembly/wabt/issues/2533# wabt doesn't have binary releases for arm64 Linuxif ${{ inputs.arch == 'arm64' }} ; thendiff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.ymlindex 247c4e04564..6c341ad17d3 100644--- a/.github/workflows/build-release.yml+++ b/.github/workflows/build-release.yml@@ -66,7 +66,6 @@ jobs:runs-on: ${{ fromJSON(matrix.runner_labels) }}container: ${{ fromJSON(matrix.container) }}- # Ladybird links Qt's private API on Linux, so each distribution version builds its packages against its own Qt.strategy:fail-fast: falsematrix:@@ -78,6 +77,20 @@ jobs:container: 'null'archives: true+ - system: 'Ubuntu 24.04'+ os_name: 'Linux'+ arch: 'x86_64'+ runner_labels: '["blacksmith-16vcpu-ubuntu-2404"]'+ container: &noble_container '{"image":"docker.io/library/ubuntu:24.04","options":"--ulimit core=1"}'+ packages: 'DEB'++ - system: 'Ubuntu 24.04'+ os_name: 'Linux'+ arch: 'arm64'+ runner_labels: '["blacksmith-16vcpu-ubuntu-2404-arm"]'+ container: *noble_container+ packages: 'DEB'+- system: 'Ubuntu 26.04'os_name: 'Linux'arch: 'x86_64'diff --git a/Meta/Docker/ci/VERSION b/Meta/Docker/ci/VERSIONindex ec3c7665f86..4dce83d6d8e 100644--- a/Meta/Docker/ci/VERSION+++ b/Meta/Docker/ci/VERSION@@ -1 +1 @@-2026.11.20+2026.11.21diff --git a/Meta/Docker/ci/install-build-dependencies.sh b/Meta/Docker/ci/install-build-dependencies.shindex 97b26551d94..634a7ed96d4 100755--- a/Meta/Docker/ci/install-build-dependencies.sh+++ b/Meta/Docker/ci/install-build-dependencies.sh@@ -50,6 +50,50 @@ case "${ID}" inubuntu)export DEBIAN_FRONTEND=noninteractiveapt-get update -o APT::Update::Error-Mode=any++ qt_dependencies=(qt6-base-dev qt6-positioning-dev qt6-tools-dev-tools)+ if dpkg --compare-versions "${VERSION_ID}" lt 26; then+ # Ubuntu 26.04 is the first release with Qt 6.10 or newer.+ qt_dependencies=(+ libatspi2.0-dev+ libegl-dev+ libglu1-mesa-dev+ libudev-dev+ libvulkan-dev+ libx11-xcb-dev+ libxcb-cursor-dev+ libxcb-image0-dev+ libxcb-keysyms1-dev+ libxcb-randr0-dev+ libxcb-render-util0-dev+ libxcb-shape0-dev+ libxcb-sync-dev+ libxcb-util-dev+ libxcb-xfixes0-dev+ libxcb-xinput-dev+ libxcb-xkb-dev+ libxi-dev+ libxkbcommon-dev+ libxkbcommon-x11-dev+ libxrender-dev+ patchelf+ wayland-protocols+ )++ GCC_VERSION=14+ apt-get install -y --no-install-recommends ca-certificates curl++ curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key -o /usr/share/keyrings/llvm-snapshot.asc+ echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.asc] https://apt.llvm.org/${VERSION_CODENAME}/ llvm-toolchain-${VERSION_CODENAME}-${LLVM_VERSION} main" \+ > /etc/apt/sources.list.d/llvm.list++ curl -fsSL https://apt.kitware.com/keys/kitware-archive-latest.asc -o /usr/share/keyrings/kitware-archive-latest.asc+ echo "deb [signed-by=/usr/share/keyrings/kitware-archive-latest.asc] https://apt.kitware.com/ubuntu/ ${VERSION_CODENAME} main" \+ > /etc/apt/sources.list.d/kitware.list++ apt-get update -o APT::Update::Error-Mode=any+ fi+apt-get install -y --no-install-recommends \autoconf \autoconf-archive \@@ -82,13 +126,11 @@ case "${ID}" inpulseaudio \python3 \python3-venv \- qt6-base-dev \- qt6-positioning-dev \- qt6-tools-dev-tools \tar \unzip \xz-utils \- zip+ zip \+ "${qt_dependencies[@]}"for tool in clang clang++ ld.lld lld llvm-symbolizer; doupdate-alternatives --install "/usr/bin/${tool}" "${tool}" "/usr/bin/${tool}-${LLVM_VERSION}" 100done