[go: up one dir, main page]

File: convey.yml

package info (click to toggle)
libgnt 2.14.4-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 976 kB
  • sloc: ansic: 14,752; xml: 117; makefile: 10
file content (82 lines) | stat: -rw-r--r-- 1,628 bytes parent folder | download
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
environment:
  - REGISTRY=docker.io
  - REPOSITORY=libgnt/builders
  - DOCS_BUILD_IMAGE=${REGISTRY}/${REPOSITORY}:debian-bookworm-amd64

tasks:
  build:
    type: docker/run
    image: docker.io/libgnt/builders:${TARGET}

  clean:
    type: convey/clean
    files:
      - debian-bookworm-amd64
      - debian-bullseye-amd64
      - fedora-34-amd64
      - libgnt-docs
      - gnt2-docs.zip

  docs-clean:
    type: convey/clean
    files:
      - libgnt-docs
      - gnt2-docs.zip
  docs-build:
    type: docker/run
    image: ${DOCS_BUILD_IMAGE}
    workdir: ${CONVEY_WORKSPACE}
    script:
      - set -ex
      - meson setup build-docs -Ddoc=true -Dpython2=false
      - ninja -C build-docs libgnt-doc
      - cd build-docs/doc
      - mv html gnt2
      - zip -9r gnt2-docs.zip gnt2
  docs-export:
    type: docker/export
    files:
      - build-docs/doc/gnt2-docs.zip:gnt2-docs.zip

  export:
    type: docker/export
    files: ${TARGET}:.

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

plans:
  docs:
    stages:
      - tasks:
         - docs-clean
         - import
         - docs-build
         - docs-export

  clean:
    stages:
      - tasks: clean

  debian-bullseye-amd64:
    environment: TARGET=debian-bullseye-amd64
    stages:
      - tasks: [import, build]
      - tasks: export
        run: always

  debian-bookworm-amd64:
    environment: TARGET=debian-bookworm-amd64
    stages:
      - tasks: [import, build]
      - tasks: export
        run: always

  fedora-34-amd64:
    environment: TARGET=fedora-34-amd64
    stages:
      - tasks: [import, build]
      - tasks: export
        run: always