From 97ff7b02d5626c460929cf8a72ab41043dab2694 Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Tue, 7 May 2024 09:51:01 -0700 Subject: [PATCH] bump repo ci to ubuntu-22.04 Summary: X-link: https://github.com/facebook/folly/pull/2189 X-link: https://github.com/facebookincubator/zstrong/pull/782 Now that Ubuntu 24.04 LTS [has been released](https://ubuntu.com/blog/canonical-releases-ubuntu-24-04-noble-numbat), it is a suitable time to bump the version of Ubuntu used in CI to Ubuntu 22.04 LTS, which is the prior LTS. Ubuntu 22.04 LTS ships with GCC 11.2, and is the first Ubuntu release to ship with a version of GCC that implements C++20 coroutines. Reviewed By: chadaustin Differential Revision: D57017204 fbshipit-source-id: ce5754e7dfc6cb066739bf164e725de8e21f8d24 --- .github/workflows/getdeps_linux.yml | 2 +- build/fbcode_builder/getdeps.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/getdeps_linux.yml b/.github/workflows/getdeps_linux.yml index e7c5ecc2b..fbb7b2a88 100644 --- a/.github/workflows/getdeps_linux.yml +++ b/.github/workflows/getdeps_linux.yml @@ -15,7 +15,7 @@ permissions: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Fetch ninja diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index 04f06d44a..a3338620a 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -931,7 +931,7 @@ class GenerateGitHubActionsCmd(ProjectCmdBase): def run_project_cmd(self, args, loader, manifest): platforms = [ - HostType("linux", "ubuntu", "18"), + HostType("linux", "ubuntu", "22"), HostType("darwin", None, None), HostType("windows", None, None), ] @@ -1216,7 +1216,7 @@ jobs: help="Allow CI to fire on all branches - Handy for testing", ) parser.add_argument( - "--ubuntu-version", default="20.04", help="Version of Ubuntu to use" + "--ubuntu-version", default="22.04", help="Version of Ubuntu to use" ) parser.add_argument( "--cron",