File: semaphore.yml

package info (click to toggle)
kmod 26-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,784 kB
  • sloc: ansic: 15,682; xml: 1,879; makefile: 617; sh: 303; python: 7
file content (46 lines) | stat: -rw-r--r-- 1,025 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
version: v1.0
name: Build and Check
agent:
  machine:
    type: e1-standard-2
    os_image: ubuntu1804

blocks:
  - name: "Build"
    task:
      jobs:
        - name: Build gcc-8
          commands:
            - sem-version c 8
        - name: Build gcc-7
          commands:
            - sem-version c 7
        - name: Build gcc-6
          commands:
            - sem-version c 6

      prologue:
        commands:
          - sudo apt update
          - sudo apt --yes install docbook-xsl liblzma-dev zlib1g-dev cython linux-headers-generic libssl-dev
          - checkout

      epilogue:
        commands:
          - ./autogen.sh c
          - make

  - name: "Unit tests"
    task:
      jobs:
        - name: check
          commands:
            - sem-version c 8
            - ./autogen.sh c
            - make check

      prologue:
        commands:
          - sudo apt update
          - sudo apt --yes install docbook-xsl liblzma-dev zlib1g-dev cython linux-headers-generic libssl-dev
          - checkout