summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-22 07:20:31 +0100
committerPauli <pauli@openssl.org>2022-06-27 11:43:33 +1000
commit6332f4c4a2c153869b169d250d9736962abe12c6 (patch)
treee3cb2e83b3c016feecbf789d1c8af53bb0cb13ac /.github
parentbe50862e72d96e599f1111bbb69f41b5af651c97 (diff)
CI: add GCC 11
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18639)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/compiler-zoo.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/compiler-zoo.yml b/.github/workflows/compiler-zoo.yml
index 55d108543f..6da470c06d 100644
--- a/.github/workflows/compiler-zoo.yml
+++ b/.github/workflows/compiler-zoo.yml
@@ -24,6 +24,8 @@ jobs:
}, {
cc: gcc-10
}, {
+ cc: gcc-11
+ }, {
cc: clang-6.0
}, {
cc: clang-7
@@ -43,6 +45,12 @@ jobs:
steps:
- name: install packages
run: |
+ echo "deb https://ppa.launchpadcontent.net/ubuntu-toolchain-r/ppa/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/gcc.list
+ echo "deb-src https://ppa.launchpadcontent.net/ubuntu-toolchain-r/ppa/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/gcc.list
+
+ # From https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa
+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 60C317803A41BA51845E371A1E9377A2BA9EF27F
+
sudo apt-get update
sudo apt-get -yq --force-yes install ${{ matrix.zoo.cc }}
- uses: actions/checkout@v2