~rcr/rirc

ref: 8bf28d31f1ddd24bb44fc8205b7122ef8bd896c7 rirc/.builds/dev.yml -rw-r--r-- 780 bytes
8bf28d31 — Richard Robbins fix build script sonar scan static analysis 2 months ago
                                                                                
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
image: debian/stable

packages:
  - curl
  - gperf
  - unzip

sources:
  - https://git.sr.ht/~rcr/rirc

secrets:
  - 8c2439c9-5f91-4b19-b3c3-33d82f1b861f
  - a58d0951-f57f-44ef-8ef2-25f2f84f0e89

tasks:
  - build: |
      cd rirc
      make all
  - check: |
      cd rirc
      make check
  - static-analysis: |
      cd rirc
      [ $(git name-rev --name-only HEAD) = "remotes/origin/static_analysis" ] || complete-build
      set +x
      source ~/export_coverity
      source ~/export_sonarscan
      set -x
      ./scripts/sa_coverity_get.sh coverity
      ./scripts/sa_coverity_run.sh coverity
      ./scripts/sa_sonarscan_get.sh sonarscan
      ./scripts/sa_sonarscan_run.sh sonarscan

triggers:
  - action: email
    condition: failure
    to: mail+sourcehut+builds@rcr.io