-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (42 loc) · 1.54 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
sudo: required
dist: xenial
language: c
if: tag IS blank
cache:
directories:
- $HOME/cachedir
- $HOME/.ccache
- $HOME/autom4te.cache
addons:
apt:
packages:
- mingw-w64
- autopoint
- check libssl-dev libsystemd-dev libjpeg-dev libglib2.0-dev libgstreamer1.0-dev libluajit-5.1-dev libfreetype6-dev libfontconfig1-dev libfribidi-dev libx11-dev libxext-dev libxrender-dev libgl1-mesa-dev libgif-dev libtiff5-dev libpoppler-dev libpoppler-cpp-dev libspectre-dev libraw-dev librsvg2-dev libudev-dev libmount-dev libdbus-1-dev libpulse-dev libsndfile1-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxrandr-dev libxtst-dev libxss-dev libbullet-dev libgstreamer-plugins-base1.0-dev doxygen
env:
global:
- EFL_BRANCH=efl-1.19
matrix:
- ARCH=x86_64 BIT=64
- ARCH=i686 BIT=32
before_install:
- 'chmod +x ./*.sh'
- ./setup.sh
- ./link_sources.sh
- export EFL_GIT_HASH="$(git --git-dir ./sources/efl_upstream/efl/.git log --format=%H -1)"
- git config --local user.name "Aleksandr Tihomirov"
- git config --local user.email "github@zetas.space"
- git tag "${EFL_BRANCH:-$EFL_GIT_HASH}"
script:
- ./build.sh efl_upstream native efl
- ./build.sh efl_upstream $ARCH efl
after_success:
- # Consider cleaning up build from stuff like mingw compiler...
- zip -r ./windows_$BIT.zip /opt/windows_$BIT
- ls -hl ./windows_$BIT.zip
deploy:
provider: releases
api_key: "$GITHUB_TOKEN"
file: "./windows_$BIT.zip"
name: "${EFL_BRANCH:-efl@$(echo $EFL_GIT_HASH | head -c 8)}"
skip_cleanup: true