ddnet/appveyor.yml

52 lines
1.2 KiB
YAML
Raw Normal View History

2017-09-14 22:30:29 +00:00
image: Visual Studio 2015
2017-03-18 10:19:20 +00:00
before_build:
2017-09-14 22:30:29 +00:00
- cmd: |
git submodule update --init
scripts\check_header_guards.py
2017-09-14 22:35:27 +00:00
md build32 & cd build32
2017-09-14 22:30:29 +00:00
cmake -Werror=dev -G "Visual Studio 14 2015" ..
2017-09-14 22:35:27 +00:00
cd ..
2017-03-18 10:19:20 +00:00
2017-09-14 22:35:27 +00:00
md build64 & cd build64
2017-09-14 22:30:29 +00:00
cmake -Werror=dev -G "Visual Studio 14 2015 Win64" ..
2017-09-14 22:35:27 +00:00
cd ..
2017-03-18 10:19:20 +00:00
2017-09-14 21:59:38 +00:00
build_script:
2017-09-14 22:30:29 +00:00
- cmd: cmake --build build32 --config Release --target everything
2017-09-14 22:43:43 +00:00
- cmd: cmake --build build64 --config Release --target everything
2017-09-14 21:59:38 +00:00
test_script:
- cmd: cmake --build build32 --config Debug --target run_tests
- cmd: cmake --build build64 --config Debug --target run_tests
- cmd: cmake --build build32 --config Release --target run_tests
- cmd: cmake --build build64 --config Release --target run_tests
- cmd: |
cd build32
Release\DDNet-Server shutdown
cd ..
- cmd: |
cd build64
Release\DDNet-Server shutdown
cd ..
after_build:
2017-09-14 22:30:29 +00:00
- cmd: cmake --build build32 --config Release --target package
- cmd: cmake --build build64 --config Release --target package
2017-03-18 10:19:20 +00:00
environment:
CFLAGS: /WX
CXXFLAGS: /WX
LDFLAGS: /WX
artifacts:
2017-09-14 22:57:04 +00:00
- path: build*/DDNet-*.zip
2017-09-14 22:43:43 +00:00
name: DDNet
2017-10-22 19:43:53 +00:00
2017-10-15 13:17:17 +00:00
branches:
except:
- staging.tmp
- testing.tmp