Skip to content

Commit

Permalink
bump repo ci to ubuntu-22.04
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/folly#2189

X-link: facebookincubator/zstrong#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
  • Loading branch information
yfeldblum authored and facebook-github-bot committed May 7, 2024
1 parent f7e201d commit bc6cf18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/getdeps_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Fetch boost
Expand Down
4 changes: 2 additions & 2 deletions build/fbcode_builder/getdeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]
Expand Down Expand Up @@ -1216,7 +1216,7 @@ def setup_project_cmd_parser(self, parser):
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",
Expand Down

0 comments on commit bc6cf18

Please sign in to comment.