-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
46 lines (42 loc) · 1.07 KB
/
.gitlab-ci.yml
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:
- testing
- dist
alpine-amd64:
stage: testing
image: alpine:3.17
script:
- apk add libcurl gcc make pkgconf musl-dev curl-dev flex bison libbsd-dev kyua atf-dev libedit-dev
- ./configure --debug
- make -j all
- make -j check
freebsd-arm64:
stage: testing
tags:
- freebsd
- arm64
script:
- ./configure --debug
- make -j 4 all
- make -j 4 check
dist:
stage: dist
image: alpine:3.18
script:
- apk add libcurl gcc make pkgconf musl-dev curl-dev flex bison xz gzip bzip2 libbsd-dev kyua atf-dev cmark git
- ./configure --debug
- (cd docs/website && ./deploy.sh)
- tools/gentarball.sh
artifacts:
name: "Dist Tarballs"
paths:
- dist/gcli-*/*
- docs/website/website_dist.tar.xz
debian-amd64:
stage: testing
image: debian:bookworm
script:
- apt-get update
- apt-get install -y --no-install-recommends build-essential libcurl4-openssl-dev pkgconf bison flex make libbsd-dev libatf-dev kyua libreadline-dev libssl-dev
- ./configure --debug
- make -j all
- make -j check