forked from UPBGE/upbge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
75 lines (60 loc) · 1.98 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
branches:
only:
- master
image:
- Ubuntu1604
- Visual Studio 2017
platform: x64
configuration: Release
clone_depth: 5
for:
- matrix:
only:
- image: Visual Studio 2017
clone_folder: c:\projects\upbge\sources
install:
- cd c:\projects\upbge
- svn checkout -q https://svn.blender.org/svnroot/bf-blender/trunk/lib/win64_vc14 lib/win64_vc14
- cd c:\projects\upbge\sources
- git submodule update --init --recursive
- git submodule foreach git checkout master
- git submodule foreach git pull --rebase origin master
build_script:
- cd c:\projects\upbge\sources
- make release x64 builddir sources\build\upbge-release
- cd c:\projects\upbge\sources\build\upbge-release\bin
- 7z a windows-x64-upbge.zip Release
- 7z rn windows-x64-upbge.zip Release upbge
artifacts:
- path: build\upbge-release\bin\windows-x64-upbge.zip
- matrix:
only:
- image: Ubuntu1604
clone_folder: /projects/upbge
install:
- cd /projects/upbge/build_files/build_environment
- bash ./install_deps.sh --skip-osl 1> /dev/null
- cd /projects/upbge
- git submodule sync
- git submodule update --init --recursive
- git submodule foreach git checkout master
- git submodule foreach git pull --rebase origin master
build_script:
- mkdir -p /projects/upbge/build/upbge-release
- cd /projects/upbge/build/upbge-release
- cmake
-DMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=11
/projects/upbge
- make -j3 1> /dev/null
- make install
- cd /projects/upbge/build
- tar -cf ubuntu-16-04-upbge.tar.gz --directory upbge-release --transform s/^bin/upbge/ bin
artifacts:
- path: build/ubuntu-16-04-upbge.tar.gz
deploy:
- provider: GitHub
description: Automated release on tag.
auth_token:
secure: HKZO9LWqeX3vV8nf+BStkngGZ6JRbjLBkCJZd9Utch2hysQm1rE4NS4UBAQwsrwu
on:
APPVEYOR_REPO_TAG: true