forked from eu07/maszyna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
78 lines (47 loc) · 2.12 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
version: '{build}'
image: Visual Studio 2017
clone_depth: 1
build_script:
- ps: >-
cd ref
git clone "https://github.com/chriskohlhoff/asio" --depth 1 --branch asio-1-16-1 -q
curl -o crashpad86.zip "http://get.backtrace.io/crashpad/builds/release/x86/crashpad-2020-07-01-release-x86-558c9614e3819179f30b92541450f5ac643afce5.zip"
7z x crashpad86.zip
move crashpad-2020-07-01-release-x86-558c9614e3819179f30b92541450f5ac643afce5 crashpad
cd ..
mkdir build
cd build
mkdir x86
cd x86
cmake ../.. -T v141_xp -DWITH_CRASHPAD=ON
cmake --build . --config RelWithDebInfo
cd ..
cd ..
cd ref
move crashpad crashpad_
curl -o crashpad64.zip "http://get.backtrace.io/crashpad/builds/release/x86-64/crashpad-2020-07-01-release-x64-558c9614e3819179f30b92541450f5ac643afce5.zip"
7z x crashpad64.zip
move crashpad-2020-07-01-release-x64-558c9614e3819179f30b92541450f5ac643afce5 crashpad
cd ..
cd build
mkdir x64
cd x64
cmake ../.. -A x64
cmake --build . --config RelWithDebInfo
cd ..
7z a eu07_x86_bin.zip ./x86/bin/RelWithDebInfo/*.exe
7z a eu07_x64_bin.zip ./x64/bin/RelWithDebInfo/*.exe
7z a package86.zip ./x86/pdb/RelWithDebInfo/*.pdb
7z a package64.zip ./x64/bin/RelWithDebInfo/*.exe ./x64/pdb/RelWithDebInfo/*.pdb
curl -Infile "package86.zip" -ContentType "application/octet-stream" -Method Post -uri "https://eu07.sp.backtrace.io:6098/post?format=symbols&token=4eeba9395fae661927e23679fc36f2237416ec056ef75399e894d597ad518c6c"
curl -Infile "package64.zip" -ContentType "application/octet-stream" -Method Post -uri "https://eu07.sp.backtrace.io:6098/post?format=symbols&token=4eeba9395fae661927e23679fc36f2237416ec056ef75399e894d597ad518c6c"
test: off
deploy: off
artifacts:
- path: build/eu07_x86_bin.zip
name: binaries_x86
- path: build/eu07_x64_bin.zip
name: binaries_x64
- path: shaders
name: shaders
type: zip