From 139bdbde9cd32135ad18574a1aa7a6ceaa298d8f Mon Sep 17 00:00:00 2001 From: Mohamed Mansour Date: Fri, 30 Oct 2026 20:28:10 -0700 Subject: [PATCH] fix: pin Linux desktop builds to Ubuntu 24.04 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .ado/pipelines/azure-pipelines-build.yml | 4 +++- .github/workflows/pr.yml | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.ado/pipelines/azure-pipelines-build.yml b/.ado/pipelines/azure-pipelines-build.yml index 441cb785b..e592ad3b7 100644 --- a/.ado/pipelines/azure-pipelines-build.yml +++ b/.ado/pipelines/azure-pipelines-build.yml @@ -379,7 +379,9 @@ stages: targetTriple: aarch64-unknown-linux-gnu artifactName: stage-desktop-linux-arm64 pool: - vmImage: ubuntu-latest + # Ubuntu 24.04 is required to match Chromium's build baseline. + # Match desktop-npm-native in .github/workflows/pr.yml. + vmImage: ubuntu-24.04 steps: - checkout: self clean: true diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 37064c99f..c72bbb653 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -277,8 +277,9 @@ jobs: fail-fast: false matrix: platform: - - { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, package: webui-desktop-linux-x64, consumer: true } - - { target: aarch64-unknown-linux-gnu, os: ubuntu-latest, package: webui-desktop-linux-arm64, consumer: false } + # Ubuntu 24.04 is required to match Chromium and the release build baseline. + - { target: x86_64-unknown-linux-gnu, os: ubuntu-24.04, package: webui-desktop-linux-x64, consumer: true } + - { target: aarch64-unknown-linux-gnu, os: ubuntu-24.04, package: webui-desktop-linux-arm64, consumer: false } - { target: x86_64-apple-darwin, os: macos-latest-large, package: webui-desktop-darwin-x64, consumer: true } - { target: aarch64-apple-darwin, os: macos-latest-large, package: webui-desktop-darwin-arm64, consumer: false } - { target: x86_64-pc-windows-msvc, os: windows-latest, package: webui-desktop-win32-x64, consumer: true }