forked from OGRECave/ogre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
59 lines (59 loc) · 1.72 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
platform: x64
configuration: Release
image:
- Visual Studio 2017
- Visual Studio 2013
install:
- cmd: choco install swig -y --version 3.0.12 & exit 0
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: git submodule update --init --recursive
build_script:
- set PATH=C:\Qt\5.12\msvc2017_64\bin;%PATH%
- cmake -P ci-build.cmake
- cmake --build build --config RelWithDebInfo --target INSTALL
test_script:
- set PATH=%PATH%;build\gtest\lib
- IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" build\bin\RelWithDebInfo\Test_Ogre.exe --gtest_filter=-MeshWithoutIndexDataTests*
cache:
- ogredeps -> CMake/Dependencies.cmake
branches:
only:
- master
- stable
after_build:
- IF "%APPVEYOR_REPO_TAG%" == "true" 7z a ogre-sdk-%APPVEYOR_REPO_TAG_NAME%-vc15-x64.zip ./build/sdk/*
artifacts:
- path: build/sdk
name: ogre-sdk-master2-vc15-x64
- path: ogre-sdk-$(APPVEYOR_REPO_TAG_NAME)-vc15-x64.zip
name: ogre-sdk-$(APPVEYOR_REPO_TAG_NAME)-vc15-x64
deploy:
- provider: BinTray
username: paroj
api_key:
secure: 4nFEwKApbHUf7UajsDt6Z7QOl3zzgEz6YbWGSGx5AiPxozWEQHEyGc6c9xE7utWE
subject: ogrecave
repo: ogre
package: ogre-sdk-vc15-x64
artifact: ogre-sdk-master2-vc15-x64
publish: true
override: true
version: master2
on:
branch: master
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
APPVEYOR_REPO_TAG: false
- provider: BinTray
username: paroj
api_key:
secure: 4nFEwKApbHUf7UajsDt6Z7QOl3zzgEz6YbWGSGx5AiPxozWEQHEyGc6c9xE7utWE
subject: ogrecave
repo: ogre
package: ogre-sdk-vc15-x64
artifact: ogre-sdk-$(APPVEYOR_REPO_TAG_NAME)-vc15-x64
publish: true
override: true
version: $(APPVEYOR_REPO_TAG_NAME)
on:
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
APPVEYOR_REPO_TAG: true