forked from basler/pypylon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
113 lines (105 loc) · 3.53 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
sudo: required
services:
- docker
language: cpp
# It is currently not possible to build manylinux packages for linux arm. Reasons are:
# - The binary dependencies of pylon are newer than specified in manylinux2014
# - There is no manylinux armhf docker container available
# - P=manylinux2014_armv7l A=cp35m
# - P=manylinux2014_armv7l A=cp36m
# - P=manylinux2014_armv7l A=cp37m
# - P=manylinux2014_armv7l A=cp38
# - P=manylinux2014_aarch64 A=cp35m
# - P=manylinux2014_aarch64 A=cp36m
# - P=manylinux2014_aarch64 A=cp37m
# - P=manylinux2014_aarch64 A=cp38
jobs:
include:
# manylinux2014_x86_64
- arch: amd64
env: P=manylinux2014_x86_64 A=cp35m
- arch: amd64
env: P=manylinux2014_x86_64 A=cp36m
- arch: amd64
env: P=manylinux2014_x86_64 A=cp37m
- arch: amd64
env: P=manylinux2014_x86_64 A=cp38
# manylinux2014_i686
- arch: amd64
env: P=manylinux2014_i686 A=cp35m
- arch: amd64
env: P=manylinux2014_i686 A=cp36m
- arch: amd64
env: P=manylinux2014_i686 A=cp37m
- arch: amd64
env: P=manylinux2014_i686 A=cp38
# linux_x86_64
- arch: amd64
env: P=linux_x86_64 A=cp34m
- arch: amd64
env: P=linux_x86_64 A=cp35m
- arch: amd64
env: P=linux_x86_64 A=cp36m
- arch: amd64
env: P=linux_x86_64 A=cp37m
- arch: amd64
env: P=linux_x86_64 A=cp38
# linux_i686
- arch: amd64
env: P=linux_i686 A=cp34m
- arch: amd64
env: P=linux_i686 A=cp35m
- arch: amd64
env: P=linux_i686 A=cp36m
- arch: amd64
env: P=linux_i686 A=cp37m
- arch: amd64
env: P=linux_i686 A=cp38
# linux_armv7l
- arch: arm64
env: P=linux_armv7l A=cp34m
- arch: arm64
env: P=linux_armv7l A=cp35m
- arch: arm64
env: P=linux_armv7l A=cp36m
- arch: arm64
env: P=linux_armv7l A=cp37m
- arch: arm64
env: P=linux_armv7l A=cp38
# linux_aarch64
- arch: arm64
env: P=linux_aarch64 A=cp34m
- arch: arm64
env: P=linux_aarch64 A=cp35m
- arch: arm64
env: P=linux_aarch64 A=cp36m
- arch: arm64
env: P=linux_aarch64 A=cp37m
- arch: arm64
env: P=linux_aarch64 A=cp38
install:
- cd $TRAVIS_BUILD_DIR
- mkdir pylon_installer && cd pylon_installer
- |
for PYLON_ARCH in armhf arm64 x86 x86_64 ; do
travis_retry curl -sSfL -O "${PYLON_DOWNLOAD_URL_BASE}pylon-5.2.0.13457-${PYLON_ARCH}.tar.gz"
done
- echo "Pylon Installer:" && ls
script:
- cd $TRAVIS_BUILD_DIR
- |
if [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then
docker run --rm --privileged multiarch/qemu-user-static:register --reset
fi
- "./scripts/build/build-arch.sh --platform-tag $P --abi-tag $A --pylon-dir ./pylon_installer --disable-tests"
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: R46oPGgeRYe2GB5JLMW8doUQf4lQx1oa+Jvr7HMbZpoVHC/EV37l9wrYLkY3BHLc3DUB6Xnc94Dc0IxEnQ3AV+vuSmDTDqdsEo7KYF+ZRMab+J4XpzLvP7E0QHwslXhCIUraEtTom4UydV5Oh6Zz4KA5utNjE9O7KUHHatcccq7/fP/8M2aZocVkkwOzNfl91tTT1nJXMtf10XGKkdI1O0VwSLkXjihIbPDANx53RWCgJgD3JGwbsDQf3lg6mzaJyx7DJ0BVSZT5tErE32pkLJqXNLsy/RQ1lPu0Ycf1HxrgYqH8NvDu4KxfKw41dcMkp6gN4ELhuVOChkztvxB1QPKHn6SdJL86+ipOZiycdnqvAAg1UD2q9idCDE4KhrD8PBJXme/1qLq578NA2PmXbWEGuHk69N/CNWhg898pFUQb600LhpsT28J7HVxGOrELr/6W0RNuEA0YCemfhDm5CQlFw8GVQ4DdFOM6dMyeeQnuWbXKQow9W0ZH/Hf8cklLfvYRYZxoulHzOF6Ley1MMVO2RHWnkZ078Xatm37El2oHkv1xxr/7Yo8GZyKTzaRKrsemtIFnuCxmK/JKGhKJlgtn6en4PL99X4EjmokjL5dhXSgz6jGb72xK7V+Xo5N6DH5t4p5huHXO8HXd5Sq3jHXD5eOZu5iHiwdrkzcJgkc=
file_glob: true
file: dist/*
on:
repo: basler/pypylon
branch: master
tags: true