-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy path.travis.yml
98 lines (89 loc) · 2.78 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
if: tag IS blank
os: linux
language: python
dist: focal
# Force rebuild X
env:
global:
- BUILD_PYTHON_VERSION=3.12.5
- MIN_PYTHON_VERSION=3.12.5
- LINUX_BUILD_OPENSSL_VERSION=3.3.1
- LINUX_MIN_OPENSSL_VERSION=3.3.1
- MIN_OPENSSL_VERSION=$LINUX_MIN_OPENSSL_VERSION
- PATCHELF_VERSION=0.12
# PYINSTALLER_VERSION can be full commit hash or version like v4.10
- PYINSTALLER_VERSION=v6.9.0
- DIST_UPGRADE=false
cache:
directories:
- $HOME/.cache/pip
- $HOME/python
- $HOME/ssl
jobs:
fast_finish: true
include:
- os: linux
name: "Linux ARM64 Focal"
dist: focal
arch: arm64
language: shell
env:
- BUILD_PYTHON_VERSION=3.12.8
filter_secrets: false
- os: linux
name: "Linux ARM64 Bionic"
dist: bionic
arch: arm64
language: shell
filter_secrets: false
- os: linux
name: "Linux 64-bit Focal"
dist: focal
language: shell
env:
- BUILD_PYTHON_VERSION=3.12.8
- os: linux
name: "Linux 64-bit Bionic"
dist: bionic
language: shell
before_install:
- export GAMOS="${TRAVIS_OS_NAME}";
- export SCRIPT_OS_NAME="${GAMOS}";
if [ "${TRAVIS_CPU_ARCH}" == "amd64" ]; then
export PLATFORM="x86_64";
else
export PLATFORM="${TRAVIS_CPU_ARCH}";
fi
- source src/travis/${SCRIPT_OS_NAME}-before-install.sh
install:
- source src/travis/${SCRIPT_OS_NAME}-install.sh
script:
- $gam version | grep travis # travis should be part of the path (not /tmp or such)
# Determine which Python version GAM is built with and ensure it's at least build version from above.
- vline=$($gam version | grep "Python "); python_line=($vline); this_python=${python_line[1]}; $python tools/a_atleast_b.py $this_python $MIN_PYTHON_VERSION
# Determine which OpenSSL version GAM is built with and ensure it's at least build version from above.
#- vline=$($gam config config tls_min_version TLSv1_3 version extended | grep "OpenSSL "); openssl_line=($vline); this_openssl=${openssl_line[1]}; $python tools/a_atleast_b.py $this_openssl $MIN_OPENSSL_VERSION
# Builds should default TLS 1.2 or 1.3 to Google
#- $gam version extended | grep TLSv1\.[23]
# expect fail since server doesn't support our TLS version
- $gam config tls_min_version TLSv1_2 version extended location tls-v1-0.badssl.com:1010; [[ $? == 3 ]]
before_deploy:
# Comment out for Linux Xenial and Trusty
#- yes | gem update --system --force
- gem install bundler
- gem install faraday-net_http -v '3.3.0' # Fix faraday version
- gem install uri
- gem install logger
- export TRAVIS_TAG="preview"
- unset LD_LIBRARY_PATH
deploy:
provider: releases
token: $GITHUB_TOKEN
file_glob: true
overwrite: true
file: gamadv-xtd3-$GAMVERSION-*
skip_cleanup: true
draft: true
edge: true
on:
repo: taers232c/GAMADV-XTD3