-
Notifications
You must be signed in to change notification settings - Fork 84
41 lines (32 loc) · 866 Bytes
/
style.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Code Style
on:
push:
branches:
- master
pull_request:
types: [opened, reopened, synchronize]
jobs:
Clang-Format:
runs-on: ubuntu-20.04 # Keep Ubuntu 20.04 until raising the requirements to clang-format > 10
steps:
- uses: actions/checkout@v3
- 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