]> git.ipfire.org Git - thirdparty/kmod.git/blob - .semaphore/semaphore.yml
Add semaphoreci 2.0 configuration
[thirdparty/kmod.git] / .semaphore / semaphore.yml
1 version: v1.0
2 name: Build and Check
3 agent:
4 machine:
5 type: e1-standard-2
6 os_image: ubuntu1804
7
8 blocks:
9 - name: "Build"
10 task:
11 jobs:
12 - name: Build gcc-8
13 commands:
14 - sem-version c 8
15 - name: Build gcc-7
16 commands:
17 - sem-version c 7
18 - name: Build gcc-6
19 commands:
20 - sem-version c 6
21
22 prologue:
23 commands:
24 - sudo apt --yes install docbook-xsl liblzma-dev zlib1g-dev cython linux-headers-generic
25 - checkout
26
27 epilogue:
28 commands:
29 - ./autogen.sh c
30 - make
31
32 - name: "Unit tests"
33 task:
34 jobs:
35 - name: check
36 commands:
37 - sem-version c 8
38 - ./autogen.sh c
39 - make check
40
41 prologue:
42 commands:
43 - sudo apt --yes install docbook-xsl liblzma-dev zlib1g-dev cython linux-headers-generic
44 - checkout