atomic: Extend support for custom execution policies #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint OpenMP | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, reopened, synchronize] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
clangformat: | |
name: "Clang-Format" | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install OpenMP | |
shell: bash | |
run: | | |
bash tools/ubuntu/install_openmp.sh | |
- name: Install clang-format | |
shell: bash | |
run: | | |
bash tools/ubuntu/install_clang_format.sh | |
- name: Download dependencies | |
shell: bash | |
run: | | |
bash tools/dev/download_dependencies.sh | |
- name: Configure project | |
shell: bash | |
run: | | |
bash tools/backend/configure_openmp.sh | |
- name: Check style | |
shell: bash | |
run: | | |
bash tools/dev/check_code_style.sh | |
clangtidy: | |
name: "Clang-Tidy" | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install OpenMP | |
shell: bash | |
run: | | |
bash tools/ubuntu/install_openmp.sh | |
- name: Install clang-tidy | |
shell: bash | |
run: | | |
bash tools/ubuntu/install_clang_tidy.sh | |
- name: Download dependencies | |
shell: bash | |
run: | | |
bash tools/dev/download_dependencies.sh | |
- name: Configure project | |
shell: bash | |
run: | | |
bash tools/backend/configure_openmp_clang_tidy.sh | |
- name: Build project | |
shell: bash | |
run: | | |
bash tools/build.sh Debug | |
cppcheck: | |
name: "Cppcheck" | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install OpenMP | |
shell: bash | |
run: | | |
bash tools/ubuntu/install_openmp.sh | |
- name: Install cppcheck | |
shell: bash | |
run: | | |
bash tools/ubuntu/install_cppcheck.sh | |
- name: Download dependencies | |
shell: bash | |
run: | | |
bash tools/dev/download_dependencies.sh | |
- name: Configure project | |
shell: bash | |
run: | | |
bash tools/backend/configure_openmp_cppcheck.sh | |
- name: Build project | |
shell: bash | |
run: | | |
bash tools/build.sh Debug | |
checklint: | |
if: always() | |
needs: | |
- clangformat | |
- clangtidy | |
- cppcheck | |
name: "Check Lint" | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: re-actors/alls-green@release/v1 | |
with: | |
jobs: ${{ toJSON(needs) }} |