This repository has been archived by the owner on Nov 14, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1: use less unstable features r=japaric a=japaric depends on rust-embedded/cortex-m#88 Co-authored-by: Jorge Aparicio <jorge@japaric.io>
- Loading branch information
Showing
6 changed files
with
75 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
language: rust | ||
|
||
matrix: | ||
include: | ||
- env: TARGET=x86_64-unknown-linux-gnu | ||
rust: nightly | ||
|
||
- env: TARGET=thumbv7m-none-eabi | ||
rust: nightly | ||
addons: | ||
apt: | ||
packages: | ||
- gcc-arm-none-eabi | ||
|
||
- env: TARGET=thumbv7em-none-eabi | ||
rust: nightly | ||
addons: | ||
apt: | ||
packages: | ||
- gcc-arm-none-eabi | ||
|
||
- env: TARGET=thumbv7em-none-eabihf | ||
rust: nightly | ||
addons: | ||
apt: | ||
packages: | ||
- gcc-arm-none-eabi | ||
|
||
before_install: set -e | ||
|
||
install: | ||
- bash ci/install.sh | ||
|
||
script: | ||
- bash ci/script.sh | ||
|
||
after_script: set +e | ||
|
||
cache: cache | ||
|
||
before_cache: | ||
- chmod -R a+r $HOME/.cargo; | ||
|
||
branches: | ||
only: | ||
- staging | ||
- trying | ||
|
||
notifications: | ||
email: | ||
on_success: never |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
status = [ | ||
"continuous-integration/travis-ci/push", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set -euxo pipefail | ||
|
||
main() { | ||
if [ $TARGET != x86_64-unknown-linux-gnu ]; then | ||
rustup target add $TARGET | ||
fi | ||
} | ||
|
||
main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set -euxo pipefail | ||
|
||
main() { | ||
cargo check --target $TARGET | ||
} | ||
|
||
main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters