diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2022-06-20 18:17:38 -0500 |
---|---|---|
committer | Adam Mitz <mitza@objectcomputing.com> | 2022-06-23 17:35:48 -0500 |
commit | 40955f9e30143403badff03076d9bdfa1e495573 (patch) | |
tree | bbd63cc3618780bbbdfc793107a41808b5fa2344 /.github/workflows | |
parent | ffd7e86aee1505ce5cc79d4fda138a34f79b0e06 (diff) | |
download | ATCD-40955f9e30143403badff03076d9bdfa1e495573.tar.gz |
Try PPA for GCC 12.1
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/linux.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index efaa0e1d625..0e17668f893 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -63,6 +63,7 @@ jobs: os: ubuntu-22.04 - CC: gcc-12 CXX: g++-12 + Repo: ppa:ubuntu-toolchain-r/ppa PackageDeps: g++-12 optional_macros: CCFLAGS+=-std=c++20 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU @@ -177,11 +178,15 @@ jobs: with: repository: DOCGroup/MPC path: ${{ env.MPC_ROOT }} - - name: Add apt repo ${{ matrix.Repo }} + - name: Add LLVM apt repo ${{ matrix.Repo }} run: | - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ ${{ matrix.Repo }} main" if: startsWith (matrix.Repo, 'llvm-toolchain') + - name: Add PPA apt repo ${{ matrix.Repo }} + run: | + sudo apt-add-repository ${{ matrix.Repo }} + if: startsWith (matrix.Repo, 'ppa:') - name: Add apt packages ${{ matrix.PackageDeps }} run: | sudo apt-get --yes update |