forked from SFTtech/openage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kevin
27 lines (21 loc) · 839 Bytes
/
.kevin
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 != "arch-clang" ?)
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=release compiler=gcc (? if job == "debian" ?)
- env: mode=debug compiler=gcc (? if job == "arch-gcc" ?)
- env: mode=debug compiler=clang (? if job == "arch-clang" ?)
./configure --mode=${mode} --compiler=${compiler} --flags="-Werror" --ccache --download-nyan
build: configure
make -j$(nproc) build
test: build
make tests
install: build
make install DESTDIR=/tmp/openage