51
51
- { arch: 'amd64', concurrency: 4, os: ubuntu-24.04, package: clang-16, cpp: clang++, version: 16, cmake-flags: '-DDPP_CORO=ON', cpack: 'no', ctest: 'no', mold: 'yes' }
52
52
- { arch: 'amd64', concurrency: 4, os: ubuntu-24.04, package: clang-17, cpp: clang++, version: 17, cmake-flags: '-DDPP_CORO=ON', cpack: 'no', ctest: 'no', mold: 'yes' }
53
53
- { arch: 'amd64', concurrency: 4, os: ubuntu-24.04, package: clang-18, cpp: clang++, version: 18, cmake-flags: '-DDPP_CORO=ON', cpack: 'no', ctest: 'no', mold: 'yes' }
54
- - { arch: 'amd64', concurrency: 4, os: ubuntu-24.04, package: '', cpp: clang++, version: 19, cmake-flags: '-DDPP_CORO=ON -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++"', cpack: 'no', ctest: 'no', mold: 'yes', llvm-install : '19.1.0 ', name-extra: " libc++" }
54
+ - { arch: 'amd64', concurrency: 4, os: ubuntu-24.04, package: 'clang-19 libc++-19-dev libc++abi-19-dev ', cpp: clang++, version: 19, cmake-flags: '-DDPP_CORO=ON -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++"', cpack: 'no', ctest: 'no', mold: 'yes', name-extra : ' libc++ ', llvm-apt: 'yes' }
55
55
# g++
56
56
- { arch: 'amd64', concurrency: 4, os: ubuntu-24.04, package: g++-13, cpp: g++, version: 13, cmake-flags: '-DDPP_CORO=ON', cpack: 'no', ctest: 'no', mold: 'yes' }
57
57
- { arch: 'amd64', concurrency: 4, os: ubuntu-24.04, package: g++-14, cpp: g++, version: 14, cmake-flags: '-DDPP_CORO=ON', cpack: 'no', ctest: 'no', mold: 'yes' }
@@ -76,12 +76,12 @@ jobs:
76
76
if : ${{ matrix.cfg.mold == 'yes' }}
77
77
uses : rui314/setup-mold@0bf4f07ef9048ec62a45f9dbf2f098afa49695f0 # v1
78
78
79
- - name : Install LLVM
80
- if : ${{ matrix.cfg.llvm-install != '' }}
79
+ - name : Add LLVM apt repository
80
+ if : ${{ matrix.cfg.llvm-apt }}
81
81
run : |
82
- wget https://apt.llvm.org/llvm.sh
83
- chmod +x llvm.sh
84
- sudo ./ llvm.sh $ {{ matrix.cfg.version }} all
82
+ osname=`cat /etc/os-release | grep -e "^VERSION_CODENAME" | cut -d= -f2`
83
+ wget -O - https://apt. llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
84
+ sudo apt-add-repository -y "deb http://apt. llvm.org/$osname/ llvm-toolchain-$osname-$ {{ matrix.cfg.version }} main"
85
85
86
86
- name : Install apt packages
87
87
run : sudo sed -i 's/azure\.//' /etc/apt/sources.list && sudo apt update && sudo apt-get install -y ${{ matrix.cfg.package }} pkg-config libsodium-dev libopus-dev zlib1g-dev rpm
0 commit comments