mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
49 lines
919 B
YAML
49 lines
919 B
YAML
dependencies:
|
|
override:
|
|
- |
|
|
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
|
|
|
|
checkout:
|
|
post:
|
|
- git submodule update --init
|
|
|
|
## Customize test commands
|
|
compile:
|
|
override:
|
|
- |
|
|
mkdir build
|
|
cd build
|
|
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake -DDOWNLOAD_GTEST=ON ..
|
|
make everything
|
|
|
|
test:
|
|
override:
|
|
- |
|
|
cd build
|
|
make run_tests
|
|
./DDNet-Server shutdown
|
|
|
|
- |
|
|
cd build
|
|
make package
|
|
mv DDNet-*.tar.* ${CIRCLE_ARTIFACTS}
|
|
|
|
branches:
|
|
ignore:
|
|
- staging.tmp
|
|
- testing.tmp
|
|
|
|
##
|
|
##deployment:
|
|
## master:
|
|
## branch: master
|
|
## owner: ddnet
|
|
## commands:
|
|
## - |
|
|
## cd build
|
|
## make package
|
|
## mv DDNet-*.tar.*
|