-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
12 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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name: Build sample material | ||
|
||
env: | ||
CARGO_TERM_COLOR: always # We want colors in our CI output | ||
CARGO_INCREMENTAL: 0 # Don't waste time writing out incremental build files | ||
CARGO_PROFILE_TEST_DEBUG: 0 # These are thrown away anyways, don't produce them | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
@@ -17,8 +22,10 @@ jobs: | |
with: | ||
tool: [email protected],[email protected],[email protected],[email protected] | ||
|
||
# `minimal` profile avoids downloading `rustdocs`, `clippy`, etc. | ||
- name: Install targets | ||
run: | | ||
rustup set profile minimal | ||
rustup target add thumbv7em-none-eabihf | ||
rustup component add rust-src | ||
rustup component add rustfmt | ||
|
@@ -51,4 +58,5 @@ jobs: | |
with: | ||
artifacts: "./rust-exercises-${{ env.slug }}.zip,./rust-exercises-${{ env.slug }}/nrf52-code/boards/dongle-fw/*-fw" | ||
allowUpdates: true | ||
updateOnlyUnreleased: true | ||
updateOnlyUnreleased: true | ||
|
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name: Weekly Canary Build | ||
|
||
env: | ||
CARGO_TERM_COLOR: always # We want colors in our CI output | ||
CARGO_INCREMENTAL: 0 # Don't waste time writing out incremental build files | ||
CARGO_PROFILE_TEST_DEBUG: 0 # These are thrown away anyways, don't produce them | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * Mon' | ||
|
@@ -21,8 +26,10 @@ jobs: | |
with: | ||
tool: [email protected],[email protected],[email protected],[email protected] | ||
|
||
# `minimal` profile avoids downloading `rustdocs`, `clippy`, etc. | ||
- name: Install targets, update, set default Rust | ||
run: | | ||
rustup profile set minimal | ||
rustup update ${{ matrix.rust-channel }} | ||
rustup default ${{ matrix.rust-channel }} | ||
rustup component add rust-src | ||
|
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