-
Notifications
You must be signed in to change notification settings - Fork 43
/
.travis.yml
61 lines (57 loc) · 1.48 KB
/
.travis.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
dist: jammy
language: c
notifications:
- email: true
before_install:
- sudo apt-get install libnl-3-dev libnl-genl-3-dev krb5-multidev heimdal-multidev ninja-build
- gcc --version
- g++ --version
- pip3 install --user meson
- PATH=$HOME/.local/bin:$PATH
jobs:
include:
-
before_script:
- ./autogen.sh
- ./configure
name: "autotools build without krb5"
script:
- make DISTCHECK_CONFIGURE_FLAGS=--enable-krb5=no distcheck
-
before_script:
- ./autogen.sh
- ./configure
name: "autotools build with mit krb5"
script:
- make DISTCHECK_CONFIGURE_FLAGS="LIBKRB5_CFLAGS='$(krb5-config.mit --cflags)' LIBKRB5_LIBS='$(krb5-config.mit --libs)' --enable-krb5" distcheck
-
before_script:
- ./autogen.sh
- ./configure
name: "autotools build with heimdal krb5"
script:
- make DISTCHECK_CONFIGURE_FLAGS="LIBKRB5_CFLAGS='$(krb5-config.heimdal --cflags)' LIBKRB5_LIBS='$(krb5-config.heimdal --libs) -lasn1' --enable-krb5" distcheck
-
before_script:
- mkdir build
- cd build
name: "meson build without krb5"
script:
- meson -Dkrb5=disabled ..
- meson dist
-
before_script:
- mkdir build
- cd build
name: "meson build with mit krb5"
script:
- meson -Dkrb5=enabled ..
- meson dist
-
before_script:
- mkdir build
- cd build
name: "meson build with heimdal krb5"
script:
- meson -Dkrb5=enabled -Dkrb5_name=heimdal-krb5 ..
- meson dist