~rcr/rirc

ref: 1f8793cf7740154be10d85688737dc49ad8d3748 rirc/.builds/dev.yml -rw-r--r-- 832 bytes
1f8793cf — Richard Robbins fix build 10 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: alpine/latest

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
      MAKEFLAGS="-j $(nproc)" make all
  - check: |
      cd rirc
      MAKEFLAGS="-j $(nproc)" 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_sonarcloud_get.sh sonarcloud
      ./scripts/sa_sonarcloud_run.sh sonarcloud

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