Skip to content

Revert "Титов Семён. Задача 3. Вариант 12. "Многошаговая схема решения двумерных задач глобальной оптимизации. Распараллеливание путем разделения области поиска." #7138

Revert "Титов Семён. Задача 3. Вариант 12. "Многошаговая схема решения двумерных задач глобальной оптимизации. Распараллеливание путем разделения области поиска."

Revert "Титов Семён. Задача 3. Вариант 12. "Многошаговая схема решения двумерных задач глобальной оптимизации. Распараллеливание путем разделения области поиска." #7138

name: Static analysis (PR)
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 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-16-dev,valgrind
cmake_command: cmake -S . -B build -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON -G Ninja -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STL=ON -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
config_file: .clang-tidy
exclude: 3rdparty
split_workflow: true
lgtm_comment_body: ""
env:
CC: clang-16
CXX: clang++-16
- if: steps.review.outputs.total_comments > 0
run: exit 1
clang-tidy-for-gcc-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 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-16-dev,valgrind
cmake_command: cmake -S . -B build -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -G Ninja -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON -D USE_SEQ=ON -D USE_MPI=ON -D USE_OMP=ON -D USE_TBB=ON -D USE_STL=ON -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
config_file: .clang-tidy
exclude: 3rdparty
split_workflow: true
lgtm_comment_body: ""
- if: steps.review.outputs.total_comments > 0
run: |
echo "clang-tidy run has failed. See previous 'Run clang-tidy' stage logs"
exit 1