-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
67 lines (67 loc) · 2.86 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
stages:
- name: test
- name: deploy
language: cpp
sudo: required
dist: trusty
git:
depth: false
os:
- linux
fast_finish: true
branches:
only: master
cache:
directories:
- gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu/
- sysroot-glibc-linaro-2.21-2017.10-aarch64-linux-gnu/
- gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/
- sysroot-glibc-linaro-2.21-2017.10-arm-linux-gnueabi/
install:
- which gcc
- which g++
jobs:
include:
- stage: test
name: aarch64-linux-gnu
script:
- source tools/install-toolchain-sysroot.sh aarch64-linux-gnu
- tools/build.sh --host aarch64-linux-gnu --toolchain ${aarch64_toolchain_name}/bin --sysroot ${aarch64_sysroot_name} -j 8 -s
- script:
- source tools/install-toolchain-sysroot.sh arm-linux-gnueabi
- tools/build.sh --host arm-linux-gnueabi --toolchain ${arm_toolchain_name}/bin --sysroot ${arm_sysroot_name} -j 8 -s
name: arm-linux-gnueabi
- script: tools/build.sh -j 8 -s
name: linux x86_64
- stage: deploy
name: Deploy to Github
script:
- echo "Deploying to GitHub releases ..."
- source tools/install-toolchain-sysroot.sh
- pwd
- du -sh *
- tools/build.sh --host aarch64-linux-gnu --toolchain ${aarch64_toolchain_name}/bin --sysroot ${aarch64_sysroot_name} -j 8 -s
- tools/build.sh --host arm-linux-gnueabi --toolchain ${arm_toolchain_name}/bin --sysroot ${arm_sysroot_name} -j 8 -s
- tools/build.sh -j 8 -s
- mkdir release
- cp build-x86_64/yoda-sixsix release/yoda-sixsix-linux_x86_64
- cp build-aarch64-linux-gnu/yoda-sixsix release/yoda-sixsix-aarch64-linux-gnu
- cp build-arm-linux-gnueabi/yoda-sixsix release/yoda-sixsix-arm-linux-gnueabi
# - tar -czf yoda-sixsix-release.tar.gz release/
- ls -lh
before_deploy:
- export TRAVIS_TAG="last-master-commit-auto-release"
deploy:
provider: releases
skip_cleanup: true
file_glob: true
overwrite: true
api_key:
secure: ZiH2XHj+TbagA/RqVzNpas8Wxqz9MzFzpWw13jzSXJ1HfVUT7f+gYA892wObok/zWBCYt1mB7CQy4Og7gPaI+IRCAr6vwn4zg/PJ9uYUD14gvVbsETLXSgzQjqXC27OjZGqeqL/dKZkTrzr1ZHg8BC6R8ZCNgeh0yerikzbKa3PCEMJrQtkIUnMIkNL5Na/+coSppWE4ulPF8KdHiIq8vLrkyztka/Oqex+D0jQF//KS13I+VkHBIFj8SGqC1/BQUfzxXIH7DNxwwusUfB1W0toUNAFXhFicJtwR6TISDtF0v6LK4l0TrczzPIXZ6XX8swk1aRhjAqMDUHaL57dc4eTgdbidkFHOeKWILuP8KvCqNg7ZTGOM/6GO/vH9dJ/0+mJTfIrHrqIPAWE8zVkya44dWeWrlsWoYx2iUdW4sT8BzPmePpfHLW27RJVkFXjJGKLehDZF42/juDT01chEXpykXjDXC1+lv+LxNdlVcLX2NeaCFuoY9PBNZGe1Oy7dNv/Dzly6dj5vn81UXG2DwdkecxqdZtEmrzpzvcJDlzlh6bHWFJUJaEiNhWxBdPUqoHfzcXHVzix8zKGs73X2epSbkT131PlTWk2gQk8ctyfOL+i8cCw69xyGBXAzTY/5jkhdtI3Wbq4651h4zqc4lNYiVVTu2VqfOaJpz3TdmrQ=
file:
- release/yoda-sixsix-linux_x86_64
- release/yoda-sixsix-aarch64-linux-gnu
- release/yoda-sixsix-arm-linux-gnueabi
on:
repo: yodaos-project/edge-monitor
branch: master