This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
329: Prepare for v0.6.15 r=therealprof a=adamgreig I'd like to make a backport release of 0.6.15 containing a few hot bug fixes from master, and setting up the `links` key in Cargo.toml to help compatibility with v0.7. I've reviewed all the PRs between master and 0.6.11 (when we diverged), and I think this captures a useful handful of minor non-breaking bug fixes. I think let's get this out to wrap up 0.6 and then get a 0.7 out with the other changes ASAP. Co-authored-by: Cliff L. Biffle <[email protected]> Co-authored-by: Adam Greig <[email protected]> Co-authored-by: Guilucand <[email protected]> Co-authored-by: Ulf Lilleengen <[email protected]>
- Loading branch information
Showing
14 changed files
with
154 additions
and
149 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,4 +1,9 @@ | ||
block_labels = ["needs-decision"] | ||
delete_merged_branches = true | ||
required_approvals = 1 | ||
status = ["continuous-integration/travis-ci/push"] | ||
status = [ | ||
"ci-linux (stable)", | ||
"ci-linux (1.40.0)", | ||
"build-other (macOS-latest)", | ||
"build-other (windows-latest)", | ||
] |
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,83 @@ | ||
on: | ||
push: | ||
branches: [ staging, trying, master ] | ||
pull_request: | ||
|
||
name: Continuous integration | ||
|
||
jobs: | ||
ci-linux: | ||
runs-on: ubuntu-20.04 | ||
continue-on-error: ${{ matrix.experimental || false }} | ||
strategy: | ||
matrix: | ||
# All generated code should be running on stable now | ||
rust: [nightly, stable, 1.40.0] | ||
|
||
include: | ||
# Nightly is only for reference and allowed to fail | ||
- rust: nightly | ||
experimental: true | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.rust }} | ||
override: true | ||
- name: Install all Rust targets for ${{ matrix.rust }} | ||
run: rustup target install --toolchain=${{ matrix.rust }} thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv8m.base-none-eabi thumbv8m.main-none-eabi thumbv8m.main-none-eabihf | ||
- name: Install qemu and gcc | ||
run: sudo apt-get update && sudo apt-get install qemu-system-arm gcc-arm-none-eabi | ||
- name: Run CI script for x86_64-unknown-linux-gnu under ${{ matrix.rust }} | ||
run: TARGET=x86_64-unknown-linux-gnu TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh | ||
- name: Run CI script for thumbv6m-none-eabi under ${{ matrix.rust }} | ||
run: TARGET=thumbv6m-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh | ||
- name: Run CI script for thumbv7m-none-eabi under ${{ matrix.rust }} | ||
run: TARGET=thumbv7m-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh | ||
- name: Run CI script for thumbv7em-none-eabi under ${{ matrix.rust }} | ||
run: TARGET=thumbv7em-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh | ||
- name: Run CI script for thumbv7em-none-eabihf under ${{ matrix.rust }} | ||
run: TARGET=thumbv7em-none-eabihf TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh | ||
- name: Run CI script for thumbv8m.base-none-eabi under ${{ matrix.rust }} | ||
run: TARGET=thumbv8m.base-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh | ||
- name: Run CI script for thumbv8m.main-none-eabi under ${{ matrix.rust }} | ||
run: TARGET=thumbv8m.main-none-eabi TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh | ||
- name: Run CI script for thumbv8m.main-none-eabihf under ${{ matrix.rust }} | ||
run: TARGET=thumbv8m.main-none-eabihf TRAVIS_RUST_VERSION=${{ matrix.rust }} bash ci/script.sh | ||
|
||
# On macOS and Windows, we at least make sure that all examples build and link. | ||
build-other: | ||
strategy: | ||
matrix: | ||
os: | ||
- macOS-latest | ||
- windows-latest | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- name: Install all Rust targets | ||
run: rustup target install thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv8m.base-none-eabi thumbv8m.main-none-eabi thumbv8m.main-none-eabihf | ||
- name: Build examples for thumbv6m-none-eabi | ||
run: cargo build --target=thumbv6m-none-eabi --examples | ||
- name: Build examples for thumbv7m-none-eabi | ||
run: cargo build --target=thumbv7m-none-eabi --examples | ||
- name: Build examples for thumbv7em-none-eabi | ||
run: cargo build --target=thumbv7em-none-eabi --examples | ||
- name: Build examples for thumbv7em-none-eabihf | ||
run: cargo build --target=thumbv7em-none-eabihf --examples | ||
- name: Build examples for thumbv8m.base-none-eabi | ||
run: cargo build --target=thumbv8m.base-none-eabi --examples | ||
- name: Build examples for thumbv8m.main-none-eabi | ||
run: cargo build --target=thumbv8m.main-none-eabi --examples | ||
- name: Build examples for thumbv8m.main-none-eabihf | ||
run: cargo build --target=thumbv8m.main-none-eabihf --examples | ||
- name: Build crate for host OS | ||
run: cargo build |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.