summaryrefslogtreecommitdiff
path: root/bitbucket-pipelines.yml
blob: 81f0bdde0a5594f5a03d2f089232d05aae38ea35 (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
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 and 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
    - step:
        name: Release Build
        runs-on:
          - 'self.hosted'
          - 'linux.shell'
        script:
          - git submodule update --init
          - cmake --preset release -GNinja
          - cmake --build --preset release