ddnet/circle.yml

49 lines
919 B
YAML
Raw Normal View History

2015-07-06 00:37:48 +00:00
dependencies:
2017-09-14 20:08:59 +00:00
override:
2015-07-06 00:37:48 +00:00
- |
2015-08-24 20:58:43 +00:00
sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
sudo apt-get update
sudo apt-get build-dep teeworlds
sudo apt-get install cmake libsdl2-dev xz-utils
2015-07-06 00:37:48 +00:00
checkout:
post:
- git submodule update --init
2015-07-06 00:37:48 +00:00
## Customize test commands
compile:
2015-07-06 00:37:48 +00:00
override:
- |
2017-03-18 00:30:59 +00:00
mkdir build
cd build
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DDOWNLOAD_GTEST=ON ..
2017-03-18 09:16:36 +00:00
make everything
test:
override:
- |
cd build
make run_tests
2017-10-22 19:43:53 +00:00
./DDNet-Server shutdown
- |
cd build
make package
2017-09-13 17:29:12 +00:00
mv DDNet-*.tar.* ${CIRCLE_ARTIFACTS}
2017-10-15 13:17:17 +00:00
branches:
ignore:
- staging.tmp
- testing.tmp
2017-10-15 13:17:17 +00:00
##
##deployment:
## master:
## branch: master
## owner: ddnet
## commands:
## - |
## cd build
## make package
2017-09-14 22:57:04 +00:00
## mv DDNet-*.tar.*