Skip to content

Commit

Permalink
Merge pull request #15 from muttleyxd/clang-12-0-1
Browse files Browse the repository at this point in the history
Fix Clang 12.0.1 and add Clang 13
  • Loading branch information
muttleyxd authored Oct 19, 2021
2 parents a31484a + 9f9cf99 commit f3a37dd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/clang-tools-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
strategy:
matrix:
clang-version: [ 3.9, 4, 5, 6, 7, 8, 9, 10, 11, 12, 12.0.1 ]
clang-version: [ 3.9, 4, 5, 6, 7, 8, 9, 10, 11, 12, 12.0.1, 13 ]
os: [ linux, macosx, windows ]
include:
- clang-version: 3.9
Expand Down Expand Up @@ -36,6 +36,8 @@ jobs:
release: llvm-project-12.0.0.src
- clang-version: 12.0.1
release: llvm-project-12.0.1.src
- clang-version: 13
release: llvm-project-13.0.0.src
- os: linux
runner: ubuntu-20.04
os-cmake-args: '-DLLVM_BUILD_STATIC=ON -DCMAKE_CXX_FLAGS="-s -flto" ${POSIX_CMAKE_ARGS}'
Expand Down Expand Up @@ -88,7 +90,7 @@ jobs:
curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/cfe-${version}.src.tar.xz
curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/clang-tools-extra-${version}.src.tar.xz
- name: get llvm-project
if: ${{ matrix.clang-version >= 9 }}
if: ${{ matrix.clang-version >= 9 || matrix.clang-version == '12.0.1' }}
shell: bash
run: |
version=${RELEASE##llvm-project-}; version=${version%.src}
Expand All @@ -112,7 +114,7 @@ jobs:
mv ${{ matrix.release }}/clang ${{ matrix.release }}/llvm/tools/clang
mv ${{ matrix.release }}/clang-tools-extra ${{ matrix.release }}/llvm/tools/clang/tools/extra
- name: unpack llvm-project
if: ${{ matrix.clang-version >= 9 }}
if: ${{ matrix.clang-version >= 9 || matrix.clang-version == '12.0.1' }}
shell: bash
run: |
tar xf ${{ matrix.release }}.tar.xz ${{ matrix.extra-tar-args }}
Expand Down

0 comments on commit f3a37dd

Please sign in to comment.