forked from terralang/terra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (75 loc) · 3.14 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
language: cpp
sudo: required
dist: xenial
os:
- linux
compiler:
- gcc
- clang
env:
global:
- HOMEBREW_NO_AUTO_UPDATE=1 # workaround for #421
matrix:
- LLVM_CONFIG=llvm-config-3.5 CLANG=clang-3.5
- LLVM_CONFIG=llvm-config-3.8 CLANG=clang-3.8
- LLVM_CONFIG=llvm-config-3.8 CLANG=clang-3.8 USE_CMAKE=1
- LLVM_CONFIG=llvm-config-5.0 CLANG=clang-5.0 USE_CMAKE=1
- LLVM_CONFIG=llvm-config-6.0 CLANG=clang-6.0
- LLVM_CONFIG=llvm-config-6.0 CLANG=clang-6.0 USE_CUDA=1
- LLVM_CONFIG=llvm-config-6.0 CLANG=clang-6.0 USE_CMAKE=1 USE_CUDA=1
- LLVM_CONFIG=llvm-config-6.0 CLANG=clang-6.0 USE_CMAKE=1 STATIC_LLVM=0 STATIC_LUAJIT=0
- LLVM_CONFIG=llvm-config-6.0 CLANG=clang-6.0 USE_CMAKE=1 SLIB_INCLUDE_LLVM=0 SLIB_INCLUDE_LUAJIT=0
- LLVM_CONFIG=llvm-config-7 CLANG=clang-7 USE_CMAKE=1
- LLVM_CONFIG=llvm-config-8 CLANG=clang-8
- LLVM_CONFIG=llvm-config-8 CLANG=clang-8 USE_CMAKE=1 TERRA_LUA=moonjit
- LLVM_CONFIG=llvm-config-9 CLANG=clang-9
- LLVM_CONFIG=llvm-config-9 CLANG=clang-9 USE_CMAKE=1 TERRA_LUA=luajit
- LLVM_CONFIG=llvm-config-9 CLANG=clang-9 USE_CMAKE=1 STATIC_LLVM=0 STATIC_LUAJIT=0
- LLVM_CONFIG=llvm-config-9 CLANG=clang-9 USE_CMAKE=1 SLIB_INCLUDE_LLVM=0 SLIB_INCLUDE_LUAJIT=0 USE_CUDA=1
jobs:
include:
- os: linux
env: CHECK_CLANG_FORMAT=1
- os: linux
env: DOCKER_BUILD=ubuntu-16.04
- os: linux
env: DOCKER_BUILD=ubuntu-18.04
- os: linux
env: DOCKER_BUILD=ubuntu-20.04
# macOS tests
- os: osx
osx_image: xcode10.1 # macOS 10.13
compiler: clang
env: LLVM_CONFIG=llvm-config-3.5 CLANG=clang-3.5
- os: osx
osx_image: xcode10.1 # macOS 10.13
compiler: clang
env: LLVM_CONFIG=llvm-config-3.8 CLANG=clang-3.8
- os: osx
osx_image: xcode11.3 # macOS 10.14
compiler: clang
env: LLVM_CONFIG=llvm-config-6.0 CLANG=clang-6.0 USE_CMAKE=1 USE_CUDA=1
- os: osx
osx_image: xcode11.3 # macOS 10.14
compiler: clang
env: LLVM_CONFIG=llvm-config-7 CLANG=clang-7 USE_CMAKE=1
- os: osx
osx_image: xcode11.3 # macOS 10.14
compiler: clang
env: LLVM_CONFIG=llvm-config-8 CLANG=clang-8 USE_CMAKE=1 TERRA_LUA=moonjit
- os: osx
osx_image: xcode11.3 # macOS 10.14
compiler: clang
env: LLVM_CONFIG=llvm-config-9 CLANG=clang-9 USE_CMAKE=1 TERRA_LUA=luajit
script:
- ./travis.sh
deploy:
provider: releases
api_key:
secure: tny5SaP2/hFuEi0DyGYyKBLNofCCuEJQM8JadBjpGlsLEvQg9UOhGLj2mEqU3TfAK6B4HkYIrDFyIx7LrlOOxTyTD1pWqq0I2K4N6agafnThB4jEpOS//O4T7CAxF6IKt7+e3sRH1327zr0+blHBDtGrYMbTkgs07qjaEJ0FtCKAkhFhVtJwZC+RzQtwc2jVPc8FC0T7b8Jexrwrsi0NutWX6QoutmZPWtzZEma2lhjwX4ajYWh+YE5O0516GIrYt0Ok0C6d8O5KZPujZ6IJ4WgD9ko4qFaEWoOsjXYss43RDLUJeF2TWiZ6mw+nC5lsZNwLfhcxeQAeMvJw/4/de8sJ72qVvOCcemly2RhRxkePGLbI7MUY/8jhsJLvWXCwNr242rGGE1GY5aQlUd+/vGccD49+8W4bmTAmbMrzcu8RscQfHouniKLDAar1YwY6FHltOhB1RbXsLsGxKGYOITgPzt6h6qtSr0ArPxtzPiTtRy4w7u47EJMxJgttQ59Alk7A+h7nMaf/8X77brfBtA68f0cJ+Wje3UYDUnkdI7E6jBKfqI7lrBguxWOaXnKH7Abe7tG7WAa3kOuMggcuD0iZwA1d0XrAVXEw9ZvAa0koBUPom4bvGJsWuczu/n5MSAwNOiQvdbOV4ibJhnAfpTSVsCmb+/YY77A8Op751IY=
file-glob: true
file: terra-*.zip
on:
repo: terralang/terra
tags: true
skip_cleanup: true