-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
executable file
·62 lines (53 loc) · 1.63 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
60
61
62
version: 1.0.{build}
image: Visual Studio 2019
configuration:
- ReleaseMT
# - Debug
platform:
- x86
# set clone depth
#clone_depth: 5
# see "Skip commits" at https://www.appveyor.com/docs/how-to/filtering-commits/#commit-files-github-and-bitbucket-only
skip_commits:
files:
- '*.md'
- .gitignore
- .editorconfig
- 'azure-pipelines*.yml'
- 'ci/azure-pipelines/template*.yml'
- '.github/*.md'
- '.github/ISSUE_TEMPLATE/*.md'
cache:
- C:\ProgramData\chocolatey\lib
- C:\ProgramData\chocolatey\bin
- $(USERPROFILE)\v8_lib
# - $(USERPROFILE)\v8_lib -> appveyor.yml
init:
- ps: Set-WinSystemLocale ja-JP
- ps: Start-Sleep -s 5
- ps: Restart-Computer
install:
- ps: |
if ( !(Test-Path $Env:USERPROFILE\v8_lib\include)) { Start-FileDownload -Url "https://github.com/yoshinrt/vsd/releases/download/release_r986/v8_lib_ReleaseMT.tbz" -FileName $Env:USERPROFILE\v8_lib_ReleaseMT.tbz }
- cmd: |
choco install zip
choco install strawberryperl --version 5.30.0.1
cd %USERPROFILE%
if not exist v8_lib\ mkdir v8_lib
cd v8_lib
if not exist include\ tar jxf ../*.tbz
cd %APPVEYOR_BUILD_FOLDER%\vsd_filter
rmdir /s/q v8_lib
mklink /j v8_lib %USERPROFILE%\v8_lib
git checkout v8_lib/.gitkeep
git submodule init
git submodule update
# Build settings, not to be confused with "before_build" and "after_build".
# "project" is relative to the original build directory and not influenced by directory changes in "before_build".
build_script:
- cmd: |
release.bat
artifacts:
- path: 'vsd_filter/vsd_filter*.exe'
- path: 'vsd_filter/ScriptIF.h'
- path: 'vsd_filter/rev_num.h'