summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/.github/workflows/uncrustify_test.yml
blob: a7fab544091b1d2f454cd02ded7418a28991f79e (plain)
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
---

name: uncrustify_test
on: [push, pull_request]

# Cancel any in-progress CI runs for a PR if it is updated
concurrency:
  group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
  cancel-in-progress: true

jobs:
  check-uncrustify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: cmake-part-and-tests
        env:
          BADGE: linux
        run: mkdir build;
          cd build;
          cmake -DCMAKE_BUILD_TYPE=Release ..;
          make;
          ../scripts/run_ctest.py


  debug-ninja-uncrustify:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: seanmiddleditch/gha-setup-ninja@master
      - name: cmake-part-and-tests
        env:
          BADGE: linux
        run: mkdir build;
          cd build;
          cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ..;
          ninja;
          ../scripts/run_ctest.py