2020 strategy :
2121 fail-fast : false
2222 matrix :
23- clang-version : [ 20, 19, 18, 17, 16, 15, 14, 13, 12.0.1, 12, 11, 10, 9, 8 ]
23+ clang-version : [ 21, 20, 19, 18, 17, 16, 15, 14, 13, 12.0.1, 12, 11, 10, 9]
2424 os : [ linux, macosx, windows ]
2525 include :
26+ - clang-version : 21
27+ release : llvm-project-21.1.0.src
2628 - clang-version : 20
2729 release : llvm-project-20.1.0.src
2830 - clang-version : 19
5153 - clang-version : 9
5254 release : llvm-project-9.0.1
5355 extra-cmake-args : ' -DLLVM_ENABLE_Z3_SOLVER=OFF'
54- - clang-version : 8
55- release : llvm-project-8.0.1
56- extra-cmake-args : ' -DCLANG_ANALYZER_ENABLE_Z3_SOLVER=OFF'
5756 - os : linux
5857 runner : ubuntu-22.04
5958 os-cmake-args : ' -DLLVM_BUILD_STATIC=ON -DCMAKE_CXX_FLAGS="-s -flto" ${POSIX_CMAKE_ARGS} ${LINUX_CMAKE_ARGS}'
9190 # The commit hash of this repository into the clang binaries
9291 shell : bash
9392 run : curl -L https://github.com/${{ github.repository }}/archive/${{ github.ref }}.tar.gz | tar xvz --strip 1
94- - name : Get llvm-project
95- if : ${{ matrix.clang-version == 8 }}
96- shell : bash
97- run : |
98- version=${RELEASE##llvm-project-}
99- curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-${version}.src.tar.xz
100- curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/cfe-${version}.src.tar.xz
101- curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/clang-tools-extra-${version}.src.tar.xz
10293 - name : Get llvm-project
10394 if : ${{ matrix.clang-version >= 9 || matrix.clang-version == '12.0.1' }}
10495 shell : bash
@@ -123,10 +114,6 @@ jobs:
123114 shell : bash
124115 run : |
125116 tar xf ${{ matrix.release }}.tar.xz ${{ matrix.extra-tar-args }}
126- - name : Patch clang-8 includes
127- if : ${{ matrix.clang-version == 8 }}
128- shell : bash
129- run : patch ${{ matrix.release }}/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h include-cstdint-string-prior-to-using-uint8_t.patch
130117 - name : Patch trivially-copyable clang 9/10
131118 if : ${{ ( matrix.clang-version == 9 || matrix.clang-version == 10 ) && matrix.os == 'windows' }}
132119 shell : bash
0 commit comments