forked from Bforartists/Bforartists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
87 lines (82 loc) · 3.36 KB
/
.travis.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
sudo: required
language: cpp
addons:
apt:
sources:
- george-edison55-precise-backports
packages:
- cmake-data
- cmake
compiler:
- gcc
matrix:
include:
- os: linux
dist: bionic
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- nvidia-cuda-dev
- libcuda1-384
- build-essential
- gcc-7-multilib
- gcc-7
- g++-7
- cmake
- doxygen
- libpython3.6-dev
- libxi-dev
- libxmu-dev
- libxxf86vm-dev
- libglu1-mesa-dev
- freeglut3-dev
- mesa-common-dev
install:
- svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_centos7_x86_64 ../lib/linux_centos7_x86_64
- make -f GNUmakefile >> /dev/null || make -f GNUmakefile
before_deploy:
- export RELEASE_FILE=$(ls *.deb)
- echo "Deploying $RELEASE_FILE to GitHub"
deploy:
provider: releases
api_key:
secure: "ERlWoOkrphep39WP0GCsrJuIT2PxoQq4bxUrHZMLXq7Swlf7paDlXPW8C2yS2S1DOpRmZrD3jwIp8lu1OhVYoke8rGURXdRvKyNKpHUfYYDZZmY81sAhYQPCXW3AblurbgqpzJkwJADDA108KYJ6RQ/iOYVdmxaJ1hz/LYGBVbl5Us2i7iGY1JlC3SMNXDt2AH3aLHlOltywNaOcus9aSATGyQVcbzToBh7AhrzvlDNVV1huMwOFEVu9PFnxS8J7KtBVK/tQ3vJEvNkcusCMN5p5Ut8C423MQj/26GBkKN0FJ8wOAuXvi32F1/6F2vFx7Vguzqs/+YQMRdeP5ReLgdBNDJNFuoR0M5hlcXNGNJKY+O5rPJJMaT0S78t5vYD5Bt+9cyNIPnbai6dOlqahAvMEzrdoTJrhK+E0aAgKqybOLObJeqmPCDXsgBo+su3ZHk5nBRH1RQtg6ToYVl2wmZJd/BkwLnLYzzT5sHD4gddHxOFa5uSqUqR9RQeL2olL21lCj8wJ4k43jb9zAqZ7qtgSDCFVpIgnvOO2fVIhfKb6OteaEkD8B4D3mLdlq9N73v9nFASviqM7ry5GOaLHPqSPya9Lv3rArHUzHso2sf2KtJB7Z/uYYiCxgFU5/YN+ajngrovzqvU43HsF9ShjcMmwrxadHqR45/6U+qq82HQ="
file_glob: true
file: ${RELEASE_FILE}
skip_cleanup: true
on:
tags: true
all_branches: true
env:
- MATRIX_EVAL="gcc && CXX=g++ && NPROC=$(nproc)"
- os: osx
osx_image: xcode11.4
addons:
apt:
packages:
- svn
install:
- svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin ../lib/darwin --trust-server-cert --non-interactive
- make -f GNUmakefile >> /dev/null || make -f GNUmakefile
before_deploy:
- export RELEASE_FILE=$(ls *.dmg)
- echo "Deploying $RELEASE_FILE to GitHub"
deploy:
provider: releases
api_key:
secure: "ERlWoOkrphep39WP0GCsrJuIT2PxoQq4bxUrHZMLXq7Swlf7paDlXPW8C2yS2S1DOpRmZrD3jwIp8lu1OhVYoke8rGURXdRvKyNKpHUfYYDZZmY81sAhYQPCXW3AblurbgqpzJkwJADDA108KYJ6RQ/iOYVdmxaJ1hz/LYGBVbl5Us2i7iGY1JlC3SMNXDt2AH3aLHlOltywNaOcus9aSATGyQVcbzToBh7AhrzvlDNVV1huMwOFEVu9PFnxS8J7KtBVK/tQ3vJEvNkcusCMN5p5Ut8C423MQj/26GBkKN0FJ8wOAuXvi32F1/6F2vFx7Vguzqs/+YQMRdeP5ReLgdBNDJNFuoR0M5hlcXNGNJKY+O5rPJJMaT0S78t5vYD5Bt+9cyNIPnbai6dOlqahAvMEzrdoTJrhK+E0aAgKqybOLObJeqmPCDXsgBo+su3ZHk5nBRH1RQtg6ToYVl2wmZJd/BkwLnLYzzT5sHD4gddHxOFa5uSqUqR9RQeL2olL21lCj8wJ4k43jb9zAqZ7qtgSDCFVpIgnvOO2fVIhfKb6OteaEkD8B4D3mLdlq9N73v9nFASviqM7ry5GOaLHPqSPya9Lv3rArHUzHso2sf2KtJB7Z/uYYiCxgFU5/YN+ajngrovzqvU43HsF9ShjcMmwrxadHqR45/6U+qq82HQ="
file_glob: true
file: ${RELEASE_FILE}
skip_cleanup: true
on:
tags: true
all_branches: true
env:
- MATRIX_EVAL="NPROC=$(sysctl -n hw.physicalcpu)"
script:
- mkdir build
- cd build
- cmake -DCPACK_BINARY_DEB:BOOL=True .. && make install && make package