forked from SFTtech/openage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kevinfile
27 lines (21 loc) · 812 Bytes
/
kevinfile
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
# kevin ci config script for openage
#
# see here for the CI source code:
# https://github.com/SFTtech/kevin
sanity_check:
- skip (? if job != "debian" ?)
make checkall
# Various optimisation options can affect warnings compiler generates.
# Make sure both release and debug are tested. Arch job has more checks,
# so it should run debug, while Debian can test build in release.
configure:
- env: mode=debug compiler=gcc (? if job == "debian" ?)
- env: mode=debug compiler=clang (? if job == "debian-clang" ?)
./configure --mode=${mode} --compiler=${compiler} --ccache --download-nyan
# TODO: once all warnings are gone again, set --flags="-Werror"
build: configure
make -j$(nproc) build
test: build
make tests
install: build
make install DESTDIR=/tmp/openage