forked from UltraStar-Deluxe/USDX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
74 lines (61 loc) · 2.17 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
63
64
65
66
67
68
69
70
71
72
73
74
environment:
NewPascalVersion: v1.0.50
image:
- Visual Studio 2015
- Ubuntu
configuration:
- x86-64
- x86-32
cache:
- dists/linux/prefix -> dists/linux/dl.sh, dists/linux/tasks.sh
matrix:
exclude:
- image: Visual Studio 2015
configuration: x86-64
for:
# Windows
-
matrix:
only:
- image: Visual Studio 2015
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:
- del game\*.debug
- 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
# Centos 7 (AppImage)
-
matrix:
only:
- image: Ubuntu
platform:
- x64
build_script:
- sh: cd dists/linux
- sh: sed -i '/docker/s/-it\>//' dockerenv.sh
- sh: prepend=""
- sh: case "$CONFIGURATION" in x86-32) prepend=linux32 ;; esac
- sh: $prepend ./dockerenv.sh make compress
- sh: for i in *.AppImage ; do mv $i ../../UltraStarDeluxe-$(git describe --tags --always --long).${i#*-} ; done
artifacts:
- path: UltraStarDeluxe-*.AppImage
name: UltraStarDeluxe AppImage