1# kevin ci config script for openage
2#
3# see here for the CI source code:
4# https://github.com/SFTtech/kevin
5
6
7sanity_check:
8	- skip              (? if job == "debian" ?)
9	make checkall
10
11# Various optimisation options can affect warnings compiler generates.
12# Make sure both release and debug are tested. Arch job has more checks,
13# so it should run debug, while Debian can test build in release.
14configure:
15	- env: mode=debug              (? if job != "debian" ?)
16	- env: mode=release            (? if job == "debian" ?)
17	./configure --mode=${mode} --ccache --download-nyan
18
19build: configure
20	make -j$(nproc) build
21
22test: build
23	make tests
24
25install: build
26	make install DESTDIR=/tmp/openage
27