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
|
|
|
|
|
2018-07-08 17:41:22 +00:00
|
|
|
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
|
|
|
|
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
|
2018-06-19 12:45:53 +00:00
|
|
|
- cmd: |
|
|
|
|
cd build32
|
|
|
|
Release\DDNet-Server shutdown
|
|
|
|
cd ..
|
|
|
|
- cmd: |
|
|
|
|
cd build64
|
|
|
|
Release\DDNet-Server shutdown
|
|
|
|
cd ..
|
2017-10-15 07:57:21 +00:00
|
|
|
|
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
|
2017-10-22 19:43:53 +00:00
|
|
|
|
2017-10-15 13:17:17 +00:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- staging.tmp
|
2018-04-09 08:27:31 +00:00
|
|
|
- testing.tmp
|