forked from UltraStar-Deluxe/USDX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
29 lines (25 loc) · 1.2 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
environment:
NewPascalVersion: v1.0.50
install:
- appveyor AddMessage -Category Information "Downloading NewPascal %NewPascalVersion%..."
- appveyor DownloadFile https://github.com/newpascal/newpascal/releases/download/np-%NewPascalVersion%/newpascal.zip
- appveyor AddMessage "Unpacking NewPascal %NewPascalVersion%..."
- 7z x -y "newpascal.zip" -o"C:\" > nul
- appveyor AddMessage -Category Information "Configuring NewPascal..."
- c:\newpascal\configure.bat
- set FPCDIR=c:\newpascal\fpcsrc
- set PATH=c:\newpascal\fpc\bin\i386-win32;c:\newpascal\binw32;C:\Program Files (x86)\NSIS;%path%
build_script:
- appveyor AddMessage -Category Information "Building UltraStar-Deluxe..."
- c:\newpascal\lazarus\lazbuild src\ultrastardx-win.lpi --lazarusdir=c:\newpascal\lazarus
- appveyor AddMessage -Category Information "Done."
after_build:
- appveyor AddMessage -Category Information "Creating Installer..."
- xcopy game\*.dll installer\dependencies\dll /y
- makensis "installer\UltraStar Deluxe.nsi"
- appveyor AddMessage -Category Information "Done."
artifacts:
- path: game
name: UltraStar.Deluxe_continuous_portable
type: zip
- path: installer\dist\UltraStar.Deluxe_*_installer.exe