mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Add Travis CI for macOS builds
This commit is contained in:
parent
e7a716aff4
commit
94bbe2bc09
18
.travis.yml
Normal file
18
.travis.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
os: osx
|
||||
script:
|
||||
- brew install sdl2
|
||||
- mkdir build; cd build
|
||||
- cmake -Werror=dev -DDOWNLOAD_GTEST=ON ..
|
||||
- make everything
|
||||
- make run_tests
|
||||
- make package_default
|
||||
- cd ..
|
||||
- mkdir build_debug; cd build_debug
|
||||
- cmake -Werror=dev -DDOWNLOAD_GTEST=ON -DDEV=ON ..
|
||||
- make run_tests
|
||||
- cd ..
|
||||
- build/teeworlds_srv shutdown
|
||||
env:
|
||||
global:
|
||||
- CFLAGS="-Wdeclaration-after-statement -Werror"
|
||||
- CXXFLAGS="-Werror"
|
Loading…
Reference in a new issue