From d10688b5ef3dceb2b8a0e5ca4e089cba12bca0cd Mon Sep 17 00:00:00 2001 From: Mukilan Thiyagarajan Date: Mon, 27 Nov 2023 17:25:44 +0530 Subject: [PATCH] ci: use ubuntu 20.04 for nightly builds on linux (#30787) Ubuntu 22.04 has a newer glibc (2.34) which means builds from there won't run on systems with older glibc, most notably the wpt.fyi taskcluster runners which use 20.04 as the docker base image. This is a temporary workaround until wpt upgrades to 22.04 Signed-off-by: Mukilan Thiyagarajan --- .github/workflows/linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5f1b80c8c98..0304af6f0bf 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -61,7 +61,10 @@ env: jobs: build: name: Linux Build - runs-on: ubuntu-22.04 + # Ubuntu 22.04 has glibc 2.34 so the binaries produced + # won't run on systems with older glibc e.g wpt.fyi + # runners which still use 20.04. + runs-on: ubuntu-${{ inputs.upload && '20.04' || '22.04' }} steps: - uses: actions/checkout@v3 if: github.event_name != 'pull_request_target'