mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
version: '{build}'
|
|
image: Visual Studio 2017
|
|
clone_depth: 1
|
|
build_script:
|
|
- ps: >-
|
|
git submodule update --init --recursive
|
|
|
|
cd ref
|
|
|
|
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
|
|
|
|
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
|