Skip to content

Commit

Permalink
Update to GCC 12
Browse files Browse the repository at this point in the history
  • Loading branch information
danakj committed Jan 1, 2023
1 parent db4d6e3 commit 7df3197
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@ jobs:
- {
name: "Ubuntu Nightly Clang",
artifact: "Linux-Clang.tar.xz",
os: ubuntu-22.04,
os: ubuntu-latest,
build_type: "Release",
cc: "clang-16",
cxx: "clang++-16",
}

- {
name: "Ubuntu Nightly UBSan",
os: ubuntu-latest,
build_type: "Release",
cc: "clang-16",
cxx: "clang++-16",
Expand All @@ -39,12 +47,10 @@ jobs:
- {
name: "Ubuntu Latest GCC",
artifact: "Linux-GCC.tar.xz",
# 22.04 is in public beta, and has GCC 11 which we need for C++20
# support. Switch to `ubuntu-latest` when it's out of beta.
os: ubuntu-22.04,
os: ubuntu-latest,
build_type: "Release",
cc: "gcc-11",
cxx: "g++-11",
cc: "gcc-12",
cxx: "g++-12",
}

# Clang doesn't have good enough C++20 support to compile this library
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/try.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,26 @@ jobs:

- {
name: "Ubuntu Nightly Clang",
os: ubuntu-22.04,
os: ubuntu-latest,
build_type: "Release",
cc: "clang-16",
cxx: "clang++-16",
}

- {
name: "Ubuntu Nightly UBSan",
os: ubuntu-22.04,
os: ubuntu-latest,
build_type: "Release",
cc: "clang-16",
cxx: "clang++-16",
}

- {
name: "Ubuntu Latest GCC",
# 22.04 is in public beta, and has GCC 11 which we need for C++20
# support. Switch to `ubuntu-latest` when it's out of beta.
os: ubuntu-22.04,
os: ubuntu-latest,
build_type: "Release",
cc: "gcc-11",
cxx: "g++-11",
cc: "gcc-12",
cxx: "g++-12",
}

# Clang doesn't have good enough C++20 support to compile this library
Expand Down

0 comments on commit 7df3197

Please sign in to comment.