Skip to content
Myr

Add ARM binaries

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #331

authored by David Peter · committed by GitHub · parent b2a246c · Browse files · 3 files+108 added−19 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+108 added−19 removed

  • other:+108 added−19 removed

3 files+108 added−19 removed

modified:ci/before_deploy.bash+64 added-6 removed
added:ci/before_install.bash+26 added
modified:.travis.yml+18 added-13 removed
1language: rust2cache: cargo3matrix:2jobs:3 include:4 # Stable channel.5 - os: linux6 rust: stable
9 unmodified lines
16 env: TARGET=i686-unknown-linux-musl17 - os: osx18 rust: stable19 env: TARGET=x86_64-apple-darwin20 - os: linux21 rust: stable22 env:23 - TARGET=arm-unknown-linux-gnueabihf24 - CC_arm_unknown_linux_gnueabihf=/usr/bin/arm-linux-gnueabihf-gcc-4.825 - CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc-4.826 - os: linux27 rust: stable28 env:29 - TARGET=arm-unknown-linux-musleabihf30 - CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-gcc-4.83132 # Minimum Rust supported channel.33 - os: linux34 rust: 1.43.0
10 unmodified lines
45 - os: osx46 rust: 1.43.047 env: TARGET=x86_64-apple-darwin4839addons:40 apt:41 packages:42 # needed for i686-unknown-linux-gnu target43 - gcc-multilib44 # needed to build deb packages45 - fakeroot49before_install:50 - ci/before_install.bash5152env:53 global:54 # Default target on travis-ci.
8 unmodified lines
6364script:65 # Incorporate TARGET env var to the build and test process66 - cargo build --target $TARGET --verbose62 - cargo test --target $TARGET --verbose67 - '[[ $TARGET == arm-unknown-linux-* ]] || cargo test --target $TARGET --verbose'6869before_deploy:70 - bash ci/before_deploy.bash7172deploy:73 provider: releases69 # NOTE updating the `api_key.secure`74 # NOTE updating the `token.secure`75 # - go to: https://github.com/settings/tokens/new76 # - generate new token using `public_repo` scope77 # - encrypt it using: `travis encrypt API_KEY_HERE`78 # - paste the output below74 api_key:79 token:80 secure: "U9QfCOQkeozaDNrTV6i2vRocX2puB5p1WSN+w9t/1j33rAtXx6ZhFx67A8nl0+dQ9nvPu/RIsFWXrYzfHQskL1WulKNHm0S5otN+747dEzbSIfMNi1UfysyCiM1SNPq+FX3qOkva83+Fe2Lyd1g4gQObceE4xsgfplfzdm+ebIa6CrfKOypToEuetzP/r8V0WpW4Cp8ojQwvsL1nfHjr1gmvmr443Gr9Yvgq9SS/NAHldrpaJr8mD26W/7jbHdm3lvrNwqLbthYDUTPZsO+2B44h+T/tuhVYbur4fel1KMo4mkIwZwsSKvJbf3Q6Vdcc9dZM+niZU78UGLt0JNEMQNqQLPGYqh+TlFR2B++lcYlybT3LcUaSkt0YIX7C4DAbMLS6sl5Fq2pRNuM/eY2BWdHf0I+K19PDxUEliUifsfSQ3rbfl52aKKLcJa0WPyDJt0qldElagxOaTIk/jn1kKkdkQu9M4gVzKXImIauRQih3CLER7th8ADMxW5Plgq8fvffJBTKlubUznKrGeeR3Mjm8DsRjhkIvFO0Doqmki4sd5zE/BOFI5a/SHg73ms+bLXLuKFK+YzIlHszCHolzkAT44aq7+LEudk8jt+QVtBEocCN/4ew4Q9Qh2tcn22+hU3Aw88lO95PsbZzTzoFtX4X89Sl1fGtpkHFZvvL4ZT0="81 # for uploading multiple files82 file_glob: true83 # NOTE explanation on each env variable
3 unmodified lines
87 file:88 - $PROJECT_NAME-$TRAVIS_TAG-$TARGET.*89 - $PROJECT_NAME*.deb90 # don't delete artifacts from previous stage86 skip_cleanup: true91 cleanup: false92 on:93 # deploy only if we push a tag94 tags: true95 # deploy only on stable channel that has TARGET env variable sets
5 unmodified lines