forked from OGRECave/ogre
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (33 loc) · 1.18 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
platform: x64
configuration: Release
environment:
CS_APIKEY:
secure: XiSyqXBlbnIqawfinZqXimatuEdpYsI38+HK2TgvuUGHQEoeFHA62700/EhFJ4M1
image:
- Visual Studio 2017
install:
- cmd: choco install swig -y --version 4.0.2.04082020 & 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
- build\bin\RelWithDebInfo\Test_Ogre.exe --gtest_filter=-MeshWithoutIndexDataTests*
cache:
- ogredeps -> CMake/Dependencies.cmake
branches:
only:
- master
- stable
after_build:
- IF NOT "%APPVEYOR_REPO_TAG%" == "true" set APPVEYOR_REPO_TAG_NAME=master
- 7z a ogre-sdk-%APPVEYOR_REPO_TAG_NAME%-msvc141-x64.zip ./build/sdk/*
- SET PATH=C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%
- pip install --upgrade cloudsmith-cli
- IF "%APPVEYOR_PULL_REQUEST_NUMBER%" == "" cloudsmith push raw ogrecave/ogre ogre-sdk-%APPVEYOR_REPO_TAG_NAME%-msvc141-x64.zip --republish -k %CS_APIKEY%
artifacts:
- path: ogre-sdk-master-msvc141-x64.zip
name: ogre-sdk-master-msvc141-x64