Skip to content

Change test tasks api #12

Change test tasks api

Change test tasks api #12

name: Static analysis
on: [pull_request]
jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Update submodules
run: git submodule update --init --recursive
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}
- uses: ZedThree/[email protected]
id: review
with:
build_dir: build
apt_packages: mpich,libmpich*,mpi*,openmpi-bin,ninja-build,libomp-dev,valgrind
cmake_command: cmake -S . -B build -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -G Ninja -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STD=ON -D CMAKE_BUILD_TYPE=RELEASE
config_file: .clang-tidy
exclude: 3rdparty
split_workflow: false
lgtm_comment_body: ""
env:
CC: gcc-12
CXX: g++-12
- if: steps.review.outputs.total_comments > 0
run: exit 1