forked from freebsd/pkg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cirrus.yml
62 lines (57 loc) · 2.67 KB
/
.cirrus.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
freebsd11_task:
freebsd_instance:
image: freebsd-11-2-release-amd64
install_script: pkg install -y kyua
script:
- ./configure
- make -j4 || make V=1
check_script: make check || { kyua report --verbose ; exit 1 ; }
freebsd12_task:
freebsd_instance:
image: freebsd-12-0-release-amd64
install_script: pkg install -y kyua
script:
- ./configure
- make -j4 || make V=1
check_script: make check || { kyua report --verbose ; exit 1 ;}
ubuntu_task:
container:
image: ubuntu:latest
setup_script:
- apt-get update
- apt-get install -y libsqlite3-dev libbsd-dev libarchive-dev libssl-dev liblzma-dev liblua5.2-dev nettle-dev liblzo2-dev libattr1-dev libacl1-dev wget build-essential zlib1g-dev libbz2-dev m4 libexpat1-dev liblz4-dev libxml2-dev
install_script: scripts/install_deps.sh
script:
- ./configure --with-libarchive.pc
- make -j4 || make V=1
check_script: make check || { kyua report --verbose ; exit 1 ; }
osx_task:
osx_instance:
image: mojave-xcode-10.1
install_script: scripts/install_deps.sh
env:
LDFLAGS: -L/usr/local/opt/libarchive/lib -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/libarchive/include -I/usr/local/opt/openssl/include
CFLAGS: -I/usr/local/opt/libarchive/include -I/usr/local/opt/openssl/include
script:
- ./configure
- make -j4 || make V=1
check_script: make check || { kyua report --verbose ; exit 1 ;}
#alpine_task:
# container:
# image: alpine:latest
# install_script: apk add gcc kyua libarchive tcl musl-dev libbsd-dev zlib zlib-dev bzip2-dev libarchive-dev openssl-dev xz-dev make fts-dev m4 lz4-dev expat-dev acl-dev atf-dev
# script:
# - ./configure --with-libarchive.pc
# - make -j4 || make V=1
# check_script: make check || { kyua report --verbose ; exit 1 ; }
fedora_task:
container:
image: fedora:latest
install_script:
- dnf -y upgrade
- dnf -y install kyua libatf-c-devel libatf-sh-devel libatf-sh libbsd-devel gcc make zlib-devel bzip2-devel libarchive-devel openssl-devel xz-devel m4 lz4-devel expat-devel libxml2-devel libacl-devel libzstd-devel xz
script:
- ./configure --with-libarchive.pc
- make -j4 || make V=1
check_script: make check || { kyua report --verbose ; exit 1 ; }