forked from sumatrapdfreader/sumatrapdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (24 loc) · 1.15 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
# docs: http://www.appveyor.com/docs/appveyor-yml
# software installed on build machines: http://www.appveyor.com/docs/installed-software
version: 3.1.{build}
image: Visual Studio 2017
# set env var when running in appveyor so that we can distinguish
# from running locally
environment:
inappveyor: 1
# magic to build Pull Requests
# based on https://github.com/Microsoft/react-native-windows/blob/1de974cfd80ac414a0b4466f8289590baae40994/appveyor.yml#L47
clone_script:
- ps: git clone -q $("--branch=" + $env:APPVEYOR_REPO_BRANCH) $("https://github.com/" + $env:APPVEYOR_REPO_NAME + ".git") $env:APPVEYOR_BUILD_FOLDER
- ps: if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) {$("git checkout -qf " + $env:APPVEYOR_REPO_COMMIT)}
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {git fetch -q origin +refs/pull/$($env:APPVEYOR_PULL_REQUEST_NUMBER)/merge; git checkout -qf FETCH_HEAD}
skip_tags: true
build_script:
- scripts\appveyor-build.bat
artifacts:
- path: rel\SumatraPDF.exe
- path: rel\Installer.exe
- path: rel\SumatraPDF.pdb.lzsa
- path: rel64\SumatraPDF.exe
- path: rel64\Installer.exe
- path: rel64\SumatraPDF.pdb.lzsa