install latest clang from `apt.llvm.org` repo instead of relying on distro packages - eliminates need for docker images (#4372)
This commit is contained in:
parent
0cf174e18f
commit
19e9712762
|
@ -9,9 +9,6 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
container:
|
||||
image: "ubuntu:22.04"
|
||||
|
||||
env:
|
||||
ASAN_OPTIONS: detect_stack_use_after_return=1
|
||||
|
||||
|
@ -25,9 +22,14 @@ jobs:
|
|||
|
||||
- name: Install missing software on ubuntu
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y cmake make libpcre3-dev
|
||||
apt-get install -y clang-14
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y cmake make libpcre3-dev
|
||||
|
||||
- name: Install clang
|
||||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 14
|
||||
|
||||
- name: CMake
|
||||
run: |
|
||||
|
|
|
@ -9,9 +9,6 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
container:
|
||||
image: "ubuntu:22.04"
|
||||
|
||||
env:
|
||||
QT_VERSION: 5.15.2
|
||||
|
||||
|
@ -20,11 +17,16 @@ jobs:
|
|||
|
||||
- name: Install missing software
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y cmake clang-14 make
|
||||
apt-get install -y libpcre3-dev
|
||||
apt-get install -y libffi7 # work around missing dependency for Qt install step
|
||||
apt-get install -y clang-tidy-14
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y cmake make
|
||||
sudo apt-get install -y libpcre3-dev
|
||||
sudo apt-get install -y libffi7 # work around missing dependency for Qt install step
|
||||
|
||||
- name: Install clang
|
||||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 14
|
||||
|
||||
- name: Cache Qt ${{ env.QT_VERSION }}
|
||||
id: cache-qt
|
||||
|
@ -36,7 +38,6 @@ jobs:
|
|||
- name: Install Qt ${{ env.QT_VERSION }}
|
||||
uses: jurplel/install-qt-action@v2
|
||||
with:
|
||||
install-deps: 'nosudo'
|
||||
version: ${{ env.QT_VERSION }}
|
||||
modules: 'qtcharts'
|
||||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||
|
|
|
@ -12,9 +12,6 @@ jobs:
|
|||
env:
|
||||
TSAN_OPTIONS: halt_on_error=1
|
||||
|
||||
container:
|
||||
image: "ubuntu:22.04"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
@ -25,9 +22,14 @@ jobs:
|
|||
|
||||
- name: Install missing software on ubuntu
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y cmake make libpcre3-dev
|
||||
apt-get install -y clang-14
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y cmake make libpcre3-dev
|
||||
|
||||
- name: Install clang
|
||||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 14
|
||||
|
||||
- name: CMake
|
||||
run: |
|
||||
|
|
|
@ -9,9 +9,6 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
container:
|
||||
image: "ubuntu:22.04"
|
||||
|
||||
env:
|
||||
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1
|
||||
|
||||
|
@ -25,9 +22,14 @@ jobs:
|
|||
|
||||
- name: Install missing software on ubuntu
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y cmake make libpcre3-dev
|
||||
apt-get install -y clang-14
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y cmake make libpcre3-dev
|
||||
|
||||
- name: Install clang
|
||||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 14
|
||||
|
||||
- name: CMake
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue