-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
appveyor.yml
61 lines (43 loc) · 1.51 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
# Appveyor build script for FSCW
version: 1.0.{build}
# Do not run when just a tag is pushed
skip_tags: true
# For now, just testing why appveyor gives me an error
build: off
branches:
except:
- gh-pages
# This URL does not need to be updated.
# We keep the latest tested InnoSetup version in this 0.0.1 "version" to make sure the build works
environment:
INNOSETUP_DOWNLOAD_URL: https://github.com/source-foundry/fscw/releases/download/v0.0.1/innosetup.exe
install:
- ps: $env:APPVEYOR_BUILD_VERSION
# Create TEMP folder
- md C:\temp
# Download and install Inno Setup.
- ps: $env:INNOSETUP_DOWNLOAD_URL
- ps: (new-object net.webclient).DownloadFile($env:INNOSETUP_DOWNLOAD_URL, 'c:\temp\innosetup.exe')
- c:\temp\innosetup.exe TYPE=full /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /NORESTARTAPPLICATIONS
# Add Inno Setup to PATH so the ISCC command is found
- set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
build_script:
- iscc.exe /DEXTERNAL_VERSION=%APPVEYOR_BUILD_VERSION% %APPVEYOR_BUILD_FOLDER%\src\FSCW.iss
artifacts:
- path: 'out\*.exe'
name: SetupExe
#deploy:
# provider: GitHub
# auth_token:
# secure: <Yoursecuretoken>
# artifact: SetupExe
# prerelease: true
# tag: v$(appveyor_build_version)
# release: Version $(appveyor_build_version)
# description: $(APPVEYOR_REPO_COMMIT_MESSAGE) ($(APPVEYOR_REPO_COMMIT_TIMESTAMP))
#notifications:
# - provider: Slack
# auth_token:
# secure: <Yoursecuretoken>
# channel: '#release-info'
#done