-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
57 lines (47 loc) · 1.01 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
version: 2.09.{build}
image:
- Visual Studio 2019
- Ubuntu1804
configuration:
- Release
- Debug
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 -t7z TheDarkMod.7z ..\darkmod\*.exe
7z a -t7z TheDarkMod.7z ..\darkmod\*.dll
7z a -t7z TheDarkMod.7z ..\darkmod\glprogs
artifacts:
- path: TheDarkMod.7z
name: TheDarkMod
- matrix:
only:
- image: Ubuntu1804
install:
- sh: |
sudo apt-get update && sudo apt-get -y install mesa-common-dev libxxf86vm-dev libxext-dev
build_script:
- sh: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE="${CONFIGURATION}" -DCOPY_EXE=OFF
make -j6
after_build:
- sh: |
EXECUTABLE="thedarkmod.x64"
tar -cSvf thedarkmod.tar "${EXECUTABLE}" "../glprogs"
bzip2 thedarkmod.tar
artifacts:
- path: build/thedarkmod.tar.bz2
name: TheDarkModLinux