utility: Add custom pair implementation #38
Workflow file for this run
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-20.04 # Keep Ubuntu 20.04 until raising the requirements to clang-format > 10 | |
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-22.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-22.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-22.04 | |
steps: | |
- uses: re-actors/alls-green@release/v1 | |
with: | |
jobs: ${{ toJSON(needs) }} |