ci: use clang-11

This commit is contained in:
Christian Göttsche 2020-12-03 15:24:26 +01:00 committed by BenBE
parent 2ec940e0d2
commit 64230ee5cd
1 changed files with 6 additions and 6 deletions

View File

@ -26,16 +26,16 @@ jobs:
build-ubuntu-latest-minimal-clang: build-ubuntu-latest-minimal-clang:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
CC: clang-10 CC: clang-11
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install clang repo - name: install clang repo
run: | run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main' -y sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' -y
sudo apt-get update -q sudo apt-get update -q
- name: Install Dependencies - name: Install Dependencies
run: sudo apt-get install clang-10 libncursesw5-dev run: sudo apt-get install clang-11 libncursesw5-dev
- name: Bootstrap - name: Bootstrap
run: ./autogen.sh run: ./autogen.sh
- name: Configure - name: Configure
@ -63,16 +63,16 @@ jobs:
build-ubuntu-latest-full-featured-clang: build-ubuntu-latest-full-featured-clang:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
CC: clang-10 CC: clang-11
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install clang repo - name: install clang repo
run: | run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main' -y sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' -y
sudo apt-get update -q sudo apt-get update -q
- name: Install Dependencies - name: Install Dependencies
run: sudo apt-get install clang-10 libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev run: sudo apt-get install clang-11 libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev
- name: Bootstrap - name: Bootstrap
run: ./autogen.sh run: ./autogen.sh
- name: Configure - name: Configure