10000 feat: run ClangBuildAnalyzer on builds by wdconinc · Pull Request #1854 · eic/EICrecon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: run ClangBuildAnalyzer on builds #1854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/linux-eic-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
# -Wno-error=maybe-uninitialized for GCC only as it has issues with /usr/include/c++/12/bits/std_function.h
CXXFLAGS: -Werror -Wall -Wextra -Wundef -Wno-error=maybe-uninitialized
- CXX: clang++
CXXFLAGS: -Werror -Wall -Wextra -Wundef
CXXFLAGS: -Werror -Wall -Wextra -Wundef -ftime-trace
# include clang++ Debug with profile CXXFLAGS
- CXX: clang++
CMAKE_BUILD_TYPE: Debug
Expand Down Expand Up @@ -151,9 +151,20 @@ jobs:
run: |
# install this repo
CXX="${{ matrix.CXX }}" CXXFLAGS="${{ matrix.CXXFLAGS }}" cmake --warn-uninitialized -B build -S . -DCMAKE_INSTALL_PREFIX=install -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=${{ matrix.CMAKE_BUILD_TYPE }} -DUSE_ASAN=${{matrix.USE_ASAN}} -DUSE_TSAN=${{matrix.USE_TSAN}} -DUSE_UBSAN=${{matrix.USE_UBSAN}}
if which ClangBuildAnalyzer ; then ClangBuildAnalyzer --start build ; fi
cmake --build build -j $(getconf _NPROCESSORS_ONLN) --target install
ccache --show-stats --verbose
ccache --evict-older-than 7d
- name: Analyze build
uses: eic/run-cvmfs-osg-eic-shell@main
if: ${{contains(matrix.CXXFLAGS, '-ftime-trace')}}
with:
platform-release: "${{ env.platform }}:${{ matrix.release }}"
run: |
if which ClangBuildAnalyzer ; then
ClangBuildAnalyzer --stop build eicrecon.bin
ClangBuildAnalyzer --analyze eicrecon.bin
fi
- name: Check dynamic library loader paths
uses: eic/run-cvmfs-osg-eic-shell@main
with:
Expand Down
Loading
0