summaryrefslogtreecommitdiffstats
path: root/.github/workflows/compiler-zoo.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/compiler-zoo.yml')
-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