summaryrefslogtreecommitdiff
path: root/bitbucket-pipelines.yml
blob: 1c2cf424b824a85475541fc0433f3977b4d664d9 (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
39
40
41
42
43
44
pipelines:
  default:
    - parallel:
        - step:
            name: pylint
            runs-on:
              - 'self.hosted'
              - 'linux.shell'
            script:
              - python --version
              - pylint scripts/check_license.py
              - pylint scripts/rekonf.py
              - pylint scripts/qrc_lint.py
        - step:
            name: Static checks
            runs-on:
              - 'self.hosted'
              - 'linux.shell'
            script:
              - git submodule update --init
              - cmake --preset debug -GNinja
              - ninja -C cmake-build-debug rekonq_check_license
              - git ls-files | grep '\.qrc$' | xargs -n1 ./scripts/qrc_lint.py
        - step:
            name: Debug Build Test
            runs-on:
              - 'self.hosted'
              - 'linux.shell'
            script:
              - git submodule update --init
              - cmake --preset debug -GNinja
              - cmake --build --preset debug
              - ctest --preset debug --output-junit test-results/all.xml
  custom:
    FullBuildTest:
      - step:
          name: Release Build
          runs-on:
            - 'self.hosted'
            - 'linux.shell'
          script:
            - git submodule update --init
            - cmake --preset release -GNinja
            - cmake --build --preset release