Skip to content

Commit

Permalink
Bump clang version to 12 in GHA build matrix (#48977)
Browse files Browse the repository at this point in the history
* Bump clang version to 12 in GHA build matrix

* Bump clang version to 10 in ClangBuildAnalyzer check

I am not sure if ClangBuildAnalyzer will function properly and
accurately with Clang 10 and above, because I see the following issue:

aras-p/ClangBuildAnalyzer#56

* Trigger ClangBuildAnalyzer on changes in CBA.yml itself
  • Loading branch information
BrettDong authored May 22, 2021
1 parent 99cd2bc commit 9f4f731
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/CBA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- '**/Makefile'
- '**.hpp'
- '**.cmake'
- '.github/workflows/CBA.yml'
pull_request:
branches:
- master
Expand All @@ -23,6 +24,7 @@ on:
- '**/Makefile'
- '**.hpp'
- '**.cmake'
- '.github/workflows/CBA.yml'


jobs:
Expand Down Expand Up @@ -51,7 +53,7 @@ jobs:
- name: make
run: |
ClangBuildAnalyzer --start .
CLANG=clang++-9 CXXFLAGS=-ftime-trace make
CLANG=clang++-10 CXXFLAGS=-ftime-trace make
ClangBuildAnalyzer --stop . buildAnalysis
- name: Analyze
run: ClangBuildAnalyzer --analyze buildAnalysis
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
sanitize: address
native: linux64
title: GCC 8, Ubuntu, Tiles, ASan
- compiler: clang++-9
- compiler: clang++-12
os: ubuntu-latest
cmake: 0
tiles: 1
sanitize: address,undefined
native: linux64
title: Clang 9, Ubuntu, Tiles, ASan, UBSan
title: Clang 12, Ubuntu, Tiles, ASan, UBSan
- compiler: clang++
os: macos-10.15
cmake: 0
Expand Down

0 comments on commit 9f4f731

Please sign in to comment.