Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
27 lines (21 sloc)
812 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |