Skip to content

Commit

Permalink
Merge #643
Browse files Browse the repository at this point in the history
643: ci: move `rustup target add` to script r=taiki-e a=taiki-e



Co-authored-by: Taiki Endo <te316e89@gmail.com>
  • Loading branch information
bors[bot] and taiki-e committed Jan 4, 2021
2 parents de4f099 + 094b902 commit 99c66ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -73,11 +73,6 @@ jobs:
- uses: actions/checkout@v2
- name: Install Rust
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- name: Add targets
if: matrix.rust == 'nightly'
run: |
rustup target add thumbv7m-none-eabi
rustup target add thumbv6m-none-eabi
- name: Check features
run: ./ci/check-features.sh

Expand Down
2 changes: 2 additions & 0 deletions ci/check-features.sh
Expand Up @@ -19,6 +19,8 @@ else
cargo hack check --all --feature-powerset --no-dev-deps --exclude benchmarks

# Check for no_std environment.
rustup target add thumbv7m-none-eabi
rustup target add thumbv6m-none-eabi
cargo hack check --all --feature-powerset --no-dev-deps --exclude benchmarks --target thumbv7m-none-eabi --skip std,default
# * `--features nightly` is required for enable `cfg_target_has_atomic`.
# * `--ignore-unknown-features` - some crates doesn't have 'nightly' feature
Expand Down

0 comments on commit 99c66ec

Please sign in to comment.