summaryrefslogtreecommitdiff
path: root/convey.yaml
blob: 6e709ef8a09dcb9317720e9fd6f5ae44f9ac45e5 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
environment:
  - PACKAGECLOUD_REPO=experimental
  - ARCH=amd64
  - BUILD_NUMBER
  - REGISTRY_HOST=docker.io
  - REPOSITORY=pidgin/builders

tasks:
  import:
    type: docker/import
    files: .:.

  build:
    type: docker/run
    image: ${REGISTRY_HOST}/${REPOSITORY}:${DISTRO}-${VERSION}-${ARCH}

  clean:
    type: convey/clean
    files:
      - appimage-x86_64
      - pvs-studio
      - scanbuild

  export:
    type: docker/export
    files: ${DISTRO}-${VERSION}-${ARCH}

  build-target:
    type: docker/run
    image: ${REGISTRY_HOST}/${REPOSITORY}:${TARGET}

  export-target:
    type: docker/export
    files: ${TARGET}

plans:
  pidgin3-appimage-x86_64:
    environment:
      - TARGET=appimage-x86_64
      - BUILD_NUMBER=0
      - COMMIT_SHORT=${HG_COMMIT_SHORT}
      - VERSION=${BUILD_NUMBER}~${COMMIT_SHORT}
      - RECIPE=Pidgin3
      - CONFIGURE_ARGS=-Dconsoleui=False
    stages:
      - tasks: [import, build-target, export-target]

  clang:
    environment: [TARGET=clang]
    stages:
      - tasks: [import, build-target]

  clean:
    stages:
      - tasks: [clean]

  debian:
    environment: [TARGET=debian-bullseye-amd64]
    stages:
      - tasks: [import, build-target]

  fedora:
    environment: [TARGET=fedora-34-amd64]
    stages:
      - tasks: [import, build-target]

  mingw-w64-x86_64:
    environment: [DISTRO=mingw, VERSION=w64, ARCH=x86_64]
    stages:
      - tasks: [import, build]

  pvs-studio:
    environment:
      - TARGET=pvs-studio
      - PVS_STUDIO_USERNAME
      - PVS_STUDIO_KEY
    stages:
      - tasks: [import, build-target]
      - tasks: [export-target]
        run: always

  scanbuild:
    environment: [TARGET=scanbuild]
    stages:
      - tasks: [import, build-target]
      - tasks: [export-target]
        run: always

  ubuntu:
    environment: [TARGET=ubuntu-hirsute-amd64]
    stages:
      - tasks: [import, build-target]