mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
28 lines
651 B
YAML
28 lines
651 B
YAML
dependencies:
|
|
pre:
|
|
- |
|
|
sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
|
|
sudo apt-get update
|
|
sudo apt-get build-dep teeworlds
|
|
sudo apt-get install libsdl2-dev cmake
|
|
|
|
if [ ! -x ~/bam/bam ]; then
|
|
git clone https://github.com/matricks/bam ~/bam/
|
|
cd ~/bam; ./make_unix.sh
|
|
fi
|
|
|
|
cache_directories:
|
|
- "~/bam/"
|
|
|
|
## Customize test commands
|
|
test:
|
|
override:
|
|
- |
|
|
git submodule update --init
|
|
../bam/bam release
|
|
|
|
mkdir build
|
|
cd build
|
|
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake ..
|
|
make everything
|