Skip to content

Commit 99c66ec

Browse files
bors[bot]taiki-e
andauthored
Merge #643
643: ci: move `rustup target add` to script r=taiki-e a=taiki-e Co-authored-by: Taiki Endo <[email protected]>
2 parents de4f099 + 094b902 commit 99c66ec

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/ci.yml

-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ jobs:
7373
- uses: actions/checkout@v2
7474
- name: Install Rust
7575
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
76-
- name: Add targets
77-
if: matrix.rust == 'nightly'
78-
run: |
79-
rustup target add thumbv7m-none-eabi
80-
rustup target add thumbv6m-none-eabi
8176
- name: Check features
8277
run: ./ci/check-features.sh
8378

ci/check-features.sh

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ else
1919
cargo hack check --all --feature-powerset --no-dev-deps --exclude benchmarks
2020

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

0 commit comments

Comments
 (0)