Skip to content

Added Total runtime calculation and output in main.cc (#751) #19

Added Total runtime calculation and output in main.cc (#751)

Added Total runtime calculation and output in main.cc (#751) #19

Workflow file for this run

name: Clang-tidy
on:
push:
branches:
- master
pull_request:
branches:
- master
- devel
types:
- opened
- reopened
- synchronize
- ready_for_review
paths-ignore:
- 'applications/**'
- 'contrib/**'
- 'doc/**'
- 'tests/**'
concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request'}}
jobs:
clang-tidy:
runs-on: [ubuntu-22.04]
timeout-minutes: 120
container:
image: dealii/dealii:v9.6.0-jammy
options: --user root
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 30
- name: Install llvm-20
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
./llvm.sh 20 all
- name: Set up path for llvm-20
run: |
echo "/usr/lib/llvm-20/bin" >> "$GITHUB_PATH"
- name: Run clang-tidy
run: |
./contrib/utilities/clang_tidy.sh -j$(nproc)