-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
58 lines (47 loc) · 2.56 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
build: off
image: Visual Studio 2017
environment:
matrix:
- ARCH: amd64
SDK_SECRET:
secure: pLYjAMRKJUZyQ8vzyopHfcjUG6SG5tggIe1lEJxq/pI8+NRrGSUSf958dVYwQrK4q5cSamjw0VjBkasEverHRlwwrC16n46HCNCqWKBRjxRcLT4ebpRlFRKKMItHkY7g2652WDU38/LnLNpLzkzs8/Dt8bI6Xqm3bphRMQK+JpLnuyOyQO8DSg3SFYQluSLL
SDK_SALT:
secure: neFQdZAmkAZdK8TPjN/bc+qKcZauqZC9pRTIVYnSwYSueGg/SB5IDIQ4KMSVySXzL6gkHCMF2qnlNPfSzeaadw==
install:
- "cd .appveyor"
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
- ps: appveyor-tools\secure-file -decrypt SDK.zip.enc -secret ${env:SDK_SECRET} -salt ${env:SDK_SALT}
- ps: "Expand-Archive -Path 'SDK.zip' -DestinationPath 'SDK'"
- ps: "Get-ChildItem 'SDK/Adobe After Effects CC 15.0 Win SDK'"
- "cd .."
build_script:
- "mkdir build"
- "cd build"
- "mkdir Win32"
- "cd Win32"
- "mkdir out"
- 'cmake ../.. -G "Visual Studio 15 2017" -A Win32 -DAFTEREFFECTS_SDK:PATH="C:/projects/aftereffects-spatial-media-plugins/.appveyor/SDK/Adobe After Effects CC 15.0 Win SDK" -DOUTPUT_LOCALLY:BOOL="1" -DCMAKE_INSTALL_PREFIX:PATH="C:/projects/aftereffects-spatial-media-plugins/build/Win32/out"'
- "cmake --build . --target ALL_BUILD --config Release -- /nologo"
- "cd .."
- "mkdir Win64"
- "cd Win64"
- "mkdir out"
- 'cmake ../.. -G "Visual Studio 15 2017" -A x64 -DAFTEREFFECTS_SDK:PATH="C:/projects/aftereffects-spatial-media-plugins/.appveyor/SDK/Adobe After Effects CC 15.0 Win SDK" -DOUTPUT_LOCALLY:BOOL="1" -DCMAKE_INSTALL_PREFIX:PATH="C:/projects/aftereffects-spatial-media-plugins/build/Win64/out"'
- "cmake --build . --target ALL_BUILD --config Release -- /nologo"
- "cd .."
- "cd .."
- ps: 'Compress-Archive -Path "C:/projects/aftereffects-spatial-media-plugins/build/Win32/Release/*.aex" -DestinationPath "SpatialMedia_AE_${env:APPVEYOR_REPO_TAG_NAME}_Win32.zip"'
- ps: 'Compress-Archive -Path "C:/projects/aftereffects-spatial-media-plugins/build/Win64/Release/*.aex" -DestinationPath "SpatialMedia_AE_${env:APPVEYOR_REPO_TAG_NAME}_Win64.zip"'
artifacts:
- path: SpatialMedia_AE_*_Win32.zip
- path: SpatialMedia_AE_*_Win64.zip
deploy:
description: |
Latest plug-in binaries ($(APPVEYOR_REPO_TAG_NAME)).
The 'source code' links are automatically generated by GitHub and do not contain the plug-in binaries. Please download the Win32 or Win64 zip files instead.
provider: GitHub
auth_token:
secure: lAs3WpB/OHKOvPrV3ep+bZjvGknD/Qq0aelWA4x2vDXADYLxfGxBebPR9xBviCKq
artifact: /SpatialMedia_AE_.*_Win(32|64)\.zip/
on:
APPVEYOR_REPO_TAG: true