-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
76 lines (66 loc) · 1.56 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
language: cpp
addons:
apt_packages:
- cmake
- curl
os: linux
cache: ccache
dist: focal
jobs:
include:
- name: "Linux Clang"
compiler: clang-10
env:
- DEPLOY=TRUE
- ARCH=x86_64
- CC_COMPILER=clang-10
- CXX_COMPILER=clang++-10
addons:
apt_packages:
- libxrandr-dev
- libudev-dev
- clang-10
- libgl1-mesa-dev
- libsfml-dev
- libjsoncpp-dev
- curl
- fakeroot
- hashdeep
- name: "Windows x86_64 static cross-compile"
compiler: gcc
env:
- WINDOWS=TRUE
- DEPLOY=TRUE
- ARCH=x86_64
addons:
apt_packages:
- imagemagick
- name: "Windows i686 static cross-compile"
if: (tag IS present) OR env(FORCE_DEPLOY)
compiler: gcc
dist: bionic
env:
- WINDOWS=TRUE
- DEPLOY=TRUE
- ARCH=i686
addons:
apt_packages:
- imagemagick
before_script:
- source scripts/before_script.sh
script:
- source scripts/script.sh
before_deploy:
- source scripts/before_deploy.sh
deploy:
provider: releases
token: $GITHUB_OAUTH_TOKEN
file_glob: true
file: deploy/*
skip_cleanup: true
draft: true
on:
all_branches: true
condition: $DEPLOY = TRUE && (-n $TRAVIS_TAG || $FORCE_DEPLOY = TRUE)
notifications:
email: false