forked from KhronosGroup/COLLADA2GLTF
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.appveyor.yml
More file actions
60 lines (50 loc) · 1.41 KB
/
.appveyor.yml
File metadata and controls
60 lines (50 loc) · 1.41 KB
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
60
version: 2.0.{build}
max_jobs: 1
image: Visual Studio 2015
matrix:
fast_finish: true
allow_failures:
- platform: x86
configuration: Release
- platform: x64
configuration: Release
platform:
- Win32
- x64
cache:
- cmake-build
configuration:
- Release
install:
- powershell -Command "(gc .gitmodules) -replace 'git@github.com:', 'https://github.com/' | Out-File .gitmodules" -encoding UTF8
- git submodule update --init --recursive
before_build:
- if not exist cmake-build mkdir cmake-build
- cd cmake-build
- if "%PLATFORM%"=="Win32" if "%CONFIGURATION%"=="Release" cmake -G "Visual Studio 14 2015" .. -Dtest=ON
- if "%PLATFORM%"=="x64" if "%CONFIGURATION%"=="Release" cmake -G "Visual Studio 14 2015 Win64" .. -Dtest=ON
build:
parallel: true
project: cmake-build/COLLADA2GLTF.sln
after_build:
- for /R . %%f in (*.exe *.lib *.pdb *.dll) do copy %%f .
- for /F "delims=-" %%a in ("%APPVEYOR_REPO_BRANCH%") do set RELEASE=%%a
- 7z a COLLADA2GLTF-"%RELEASE%"-windows-"%CONFIGURATION%"-"%PLATFORM%".zip
.\*.exe
.\*.lib
.\*.pdb
.\*.dll
test_script:
- "%CONFIGURATION%\\COLLADA2GLTF-test.exe"
- "GLTF\\%CONFIGURATION%\\GLTF-test.exe"
artifacts:
- path: cmake-build/*.zip
name: built-zip
deploy:
description: Live build of latest master from CI
provider: GitHub
auth_token:
secure: dNmT53aWZs5g0xiT713qZYpumGQTi7qzXPXKWO9Ub/X1IQfeb/uo81Zk+4kFf8U4
on:
appveyor_repo_tag: true
force_update: true