-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
87 lines (75 loc) · 1.87 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
75
76
77
78
79
80
81
82
83
84
85
86
87
version: 2.10.{build}
image:
- Visual Studio 2022
- Ubuntu1804
configuration:
- Release
platform:
- x64
shallow_clone: true
test: false
for:
- matrix:
except:
- image: Ubuntu1804
build:
project: TheDarkMod.sln
parallel: true
verbosity: minimal
after_build:
- cmd: |
7z a -tzip tdm_vr.pk4 ..\darkmod\glprogs_vr
7z a -tzip tdm_vr.pk4 ..\darkmod\guis
7z a -t7z TheDarkModVR.7z ..\darkmod\TheDarkMod*.exe
7z a -t7z TheDarkModVR.7z ..\darkmod\*.dll
7z a -t7z TheDarkModVR.7z tdm_vr.pk4
artifacts:
- path: TheDarkModVR.7z
name: TheDarkModVR
deploy:
provider: GitHub
description: 'The Dark Mod VR'
auth_token:
secure: e1wZU5UvI8kUlEcPMW9H8p5xw3wfDKXN1Ne0UV9O921Asuihq6yIrHBRMtEKsyME
artifact: 'TheDarkModVR'
draft: true
prerelease: true
on:
APPVEYOR_REPO_TAG: true
- matrix:
only:
- image: Ubuntu1804
install:
- sh: |
sudo apt-get update && sudo apt-get -y install mesa-common-dev libxxf86vm-dev libxext-dev libxrandr-dev
build_script:
- sh: |
mkdir ../darkmod
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE="${CONFIGURATION}" -DCOPY_EXE=ON
make -j6
after_build:
- sh: |
cd ..
CURPATH=`pwd`
cd ../darkmod
7za a -tzip tdm_vr.pk4 glprogs_vr
7za a -tzip tdm_vr.pk4 guis
tar -cSvf thedarkmodvr.tar "thedarkmodvr.x64" "tdm_vr.pk4" "libopenvr_api.so" "libopenxr_loader.so.1"
bzip2 thedarkmodvr.tar
cd $CURPATH
mv ../darkmod/thedarkmodvr.tar.bz2 .
artifacts:
- path: thedarkmodvr.tar.bz2
name: TheDarkModVRLinux
deploy:
provider: GitHub
description: 'The Dark Mod VR'
auth_token:
secure: e1wZU5UvI8kUlEcPMW9H8p5xw3wfDKXN1Ne0UV9O921Asuihq6yIrHBRMtEKsyME
artifact: 'TheDarkModVRLinux'
draft: true
prerelease: true
on:
APPVEYOR_REPO_TAG: true