Speed up remote bitbang.
[openocd.git] / .travis.yml
1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright Marek Vasut <marex@denx.de>
3
4 # OpenOCD on Travis CI - https://travis-ci.org/
5
6 sudo: required
7 dist: bionic
8
9 arch:
10 - amd64
11 - arm64
12 - ppc64le
13 - s390x
14
15 addons:
16 apt:
17 sources:
18 - sourceline: 'ppa:ubuntu-toolchain-r/test'
19 - sourceline: 'deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'
20 key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
21 packages:
22 - libftdi-dev
23 - libhidapi-dev
24 - libjaylink-dev
25
26 env:
27 - CC=gcc-9
28 - CC=clang-9
29
30 language: c
31
32 git:
33 depth: 1
34 autocrlf: input
35
36 script:
37 - $mingw64 ${CC} --version
38 - $mingw64 env
39 - $mingw64 ./bootstrap
40 - $mingw64 ./configure
41 - $mingw64 make
42
43 before_install:
44 - |-
45 case $TRAVIS_OS_NAME in
46 linux)
47 sudo apt install ${CC} libusb-1.0-0-dev
48 ;;
49 osx)
50 brew install libtool automake libusb libusb-compat hidapi libftdi
51 ;;
52 windows)
53 [[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64
54 choco uninstall -y mingw
55 choco upgrade --no-progress -y msys2
56 export msys2='cmd //C RefreshEnv.cmd '
57 export msys2+='& set MSYS=winsymlinks:nativestrict '
58 export msys2+='& C:\\tools\\msys64\\msys2_shell.cmd -defterm -no-start'
59 export mingw64="$msys2 -mingw64 -full-path -here -c \$\* --"
60 export msys2+=" -msys2 -c \$\* --"
61 $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain autoconf autoconf-archive automake automake-wrapper binutils gcc gettext git libtool m4 make pkg-config tcl texinfo mingw-w64-x86_64-libusb mingw-w64-x86_64-libusb-compat-git mingw-w64-x86_64-libjaylink-git mingw-w64-x86_64-libftdi mingw-w64-x86_64-hidapi mingw-w64-x86_64-clang
62 ## FIXME: Also build for i686?
63 ## Install more MSYS2 packages from https://packages.msys2.org/base here
64 taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967
65 export PATH=/C/tools/msys64/mingw64/bin:$PATH
66 export MAKE=mingw32-make # so that Autotools can find it
67 ;;
68 esac
69
70 before_cache:
71 - |-
72 case $TRAVIS_OS_NAME in
73 windows)
74 # https://unix.stackexchange.com/a/137322/107554
75 $msys2 pacman --sync --clean --noconfirm
76 ;;
77 esac
78
79 cache:
80 directories:
81 - $HOME/AppData/Local/Temp/chocolatey
82 - /C/tools/msys64
83
84 matrix:
85 include:
86 - os: osx
87 env:
88 - CC=clang
89 - os: windows
90 env:
91 - CC=gcc

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)