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: |
|
2017-07-20 21:33:49 +00:00
|
|
|
git submodule update --init
|
|
|
|
|
2017-09-14 22:35:27 +00:00
|
|
|
md build32 & cd build32
|
2017-10-15 08:25:26 +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-10-15 08:25:26 +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
|
|
|
|
2017-10-15 07:57:21 +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
|
|
|
|
|
2017-09-14 21:44:57 +00:00
|
|
|
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
|
|
|
|
2017-09-06 09:05:09 +00:00
|
|
|
environment:
|
|
|
|
CFLAGS: /WX
|
|
|
|
CXXFLAGS: /WX
|
|
|
|
LDFLAGS: /WX
|
2017-09-16 09:17:39 +00:00
|
|
|
|
2017-09-14 21:44:57 +00:00
|
|
|
artifacts:
|
2017-09-14 22:57:04 +00:00
|
|
|
- path: build*/DDNet-*.zip
|
2017-09-14 22:43:43 +00:00
|
|
|
name: DDNet
|