-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
151 lines (128 loc) · 4.55 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# OSX/Linux (https://github.com/travis-ci-tester/toolchain-table)
language:
- cpp
# Container-based infrastructure (Linux)
# * https://docs.travis-ci.com/user/migrating-from-legacy/#How-can-I-use-container-based-infrastructure%3F
sudo:
- false
dist:
- trusty
# Install packages differs for container-based infrastructure
# * https://docs.travis-ci.com/user/migrating-from-legacy/#How-do-I-install-APT-sources-and-packages%3F
# List of available packages:
# * https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-trusty
# List of available sources:
# * https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
# For ogles_gpgpu (GL library)
- libgl1-mesa-dev
# GCC 5
- g++-5
# pip3
- python3-pip
env:
global:
- secure: "copxh/FOt+cC3TohV8GLrqmxJl/C45uNHt0hbY6E4GAw2yo4AAO5lPpGv2f/9lvxpHFv/n/mZu5MmlJwn5nJrDAb3K6r7pC5jFR0o8MFfUu+dfCm6tR0tWzFPuTuQTjnMl4wmM+t72KI7NHk0HvHm51tlR6J8Vz+OGIvt9vVHBAQtWFs9CbdiGl/HT+kjzw97xpYvbNImDsEOTYBMJExTmx+8s3MmhOyUDmbJO1x5XRF1C9CX2RALBwJbNz0oOI8FFChmtzUKzErvy5JWy8zvwWq/oQKl42RFi9GRLFM5+3NdHP8gXARykJp32cdBdtR1Sih6ySGOjrtT2go/y/asj7r2eXqewKLPsnbddeoovl098kATy/e3A1F9qZSGGMDtrW1xTaRG77KdbSXrQvnXKB58IjpDU5gCwwVFs2hbldjwsFsgcQ4w/RAHhvQrYy7S0lcqa+OjXjeYLn9DNjrZNm89Q99XbGFKCAitEcAfvG1IPsWvl4518bjBE7qwK4sUG7GFstFCGmTzy7ZhBz9vBTe7/SKu/8fYMOVmhX77rLFazZGcc6cOzoTIGdMWU2narwjAuzN7c3NzchcUtC13/+MhWgr/TLMqWJmhPHmwLMt6xrqM+DfEQzv1RFbH1t5WSnfa1L3DKgC2SW84lmL5cQScZ/qvsJC2xEpIrp49xQ="
matrix:
include:
# Linux {
- os: linux
env: >
TOOLCHAIN=clang-fpic-hid-sections
CONFIG=Release
INSTALL=--strip
TEST=--test
GPU=OFF
BUILD_SHARED=ON
ACF_OPENGL_ES2=OFF
ACF_OPENGL_ES3=OFF
- os: linux
env: >
TOOLCHAIN=gcc-5-pic-hid-sections-lto
CONFIG=Release
INSTALL=--strip
TEST=--test
GPU=OFF
BUILD_SHARED=ON
ACF_OPENGL_ES2=OFF
ACF_OPENGL_ES3=OFF
- os: linux
env: >
TOOLCHAIN=android-ndk-r18b-api-24-arm64-v8a-clang-libcxx11
CONFIG=Release
INSTALL=--strip
TEST=--test
GPU=OFF
BUILD_SHARED=OFF
ACF_OPENGL_ES2=ON
ACF_OPENGL_ES3=OFF
# }
# OSX {
- os: osx
osx_image: xcode9.3
env: >
TOOLCHAIN=osx-10-13
CONFIG=Release
INSTALL=--install
TEST=--test
GPU=OFF
BUILD_SHARED=ON
ACF_OPENGL_ES2=OFF
ACF_OPENGL_ES3=OFF
- os: osx
osx_image: xcode9.3
env: >
TOOLCHAIN=ios-nocodesign-11-3-dep-9-3-arm64
CONFIG=MinSizeRel
INSTALL=--install
TEST=""
GPU=OFF
BUILD_SHARED=ON
ACF_OPENGL_ES2=ON
ACF_OPENGL_ES3=OFF
# - os: osx
# osx_image: xcode8.3
# env: >
# TOOLCHAIN=osx-10-12-sanitize-address-hid-sections
# CONFIG=Release
# INSTALL=--install
# TEST=--test
# GPU=OFF
# BUILD_SHARED=ON
- os: osx
env: >
TOOLCHAIN=android-ndk-r18b-api-24-arm64-v8a-clang-libcxx11
CONFIG=MinSizeRel
INSTALL=--strip
TEST=--test
GPU=ON
BUILD_SHARED=OFF
ACF_OPENGL_ES2=ON
ACF_OPENGL_ES3=OFF
# }
# disable the default submodule logic to support local modification of .gitmodules paths
git:
submodules: false
install:
- source bin/hunter_env.sh
script:
- bin/travis_build.sh "${TOOLCHAIN}" "${CONFIG}" "${INSTALL}"
before_deploy:
- gem install mime-types -v 2.6.2 # workaround for https://github.com/travis-ci/travis-ci/issues/5145
- export FILE_TO_UPLOAD=$(ls _archives/acf-*.tar.gz)
deploy:
provider: releases
api_key:
- secure: "LqSdaNS6LyKpgJX3J6Fm7Tgf9cYRF1Uz9mH0oOEdgYdJd1XVPsHpvihgm+ItznlsKxU1Rgg5+b5YzDX4g3NJSA9GXAbBz+1jczeGZvLTgJOo07u4i0Ze4/8b1fXw/Maz+I7DVD6pWyDWgoe1Wh70BKhqn1DjX0C69bIyW+uBABVAjFPG2xSsfZ0Z0hG24H8yC3VJom77MeFvrNhWNeeN5ap23s2gzkm8bJMXd5NkTZ0/XLVTD3biD5WhOVDLHjeZETz83yDY3sdjBWRR2M68jtXZTqvU0nt9tgNCzATeAhklUF80Vh0VDv9QXNSLtmtRBiQcmfcL9S+hRyztW0xnC/PUNGh0xOYZ7w8PnD1EbT//neF1oyByMpCv1W/keRg4qCBnZdDc6s6PaNqkNvsqE5KWi6+sAYukaWnpyScFquvx2YTSOeBtyl3Tivj9AYvReB/ooZS5skNjt0F+qdmriodpDj4uvrii8ggF0Qn8fkzhhXslMIjNONiDi8ATDZH+V76fkyqG0fLZJtjBKA8DHKPrCh9CSRHs75Lwzx0lnunlL5lyLH/ZnSgY7d7q491F2auF90c4KbeS6aRL+ivDZDMPvVMZtSGvAfvWmVTM+uIsIaIHmk60Z2xoseaInIST2nKWHwSplCkA+yBhiCPA+WYJWxqB5MOChQxxLAopSFs="
file_glob: true
file: "${FILE_TO_UPLOAD}"
skip_cleanup: true
on:
tags: true
branches:
except:
- /^pr\..*/