blob: 7ea6f3375a0f4a1498e0608eac5f6b0cf96fc925 (
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
|
stages:
- Build
- Test
.build-generic:
stage: Build
script:
- make CC=gcc clean all test
- make CC=clang clean all test
artifacts:
paths:
- sand-leek
expire_in: 1 year
.build-debian-derived:
extends: .build-generic
before_script:
- apt-get update
- apt-get -y install build-essential clang libssl-dev openssl python
Arch Linux:
image: archlinux/base
extends: .build-generic
before_script:
- pacman --noconfirm --needed -Syu base-devel clang python
Debian (stable):
image: debian:stable
extends: .build-debian-derived
Ubuntu (Bionic):
image: ubuntu:bionic
extends: .build-debian-derived
Ubuntu (Focal):
image: ubuntu:focal
extends: .build-debian-derived
Shellcheck:
image: archlinux/base
stage: Test
before_script:
- pacman --noconfirm --needed -Syu shellcheck
script:
- ./test/run-shellcheck.sh
needs: []
|