Skip to content

Commit be123af

Browse files
committed
only build no_std aarch64 none on nightly
1 parent 7073957 commit be123af

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,13 @@ jobs:
5959
- name: Test `no_std` support
6060
run: cargo test --no-default-features --features=alloc,no_std_net
6161
- name: Build `url` crate for `aarch64-unknown-none` with `no_std`
62-
run: >
62+
if: |
63+
matrix.os == 'ubuntu-latest' &&
64+
matrix.rust == 'nightly'
65+
run: |
6366
cd url
64-
&& cargo +nightly check -Zbuild-std=core,alloc --target aarch64-unknown-none -v --release --no-default-features --features=alloc,unstable
65-
&& cargo +nightly check -Zbuild-std=core,alloc --target aarch64-unknown-none -v --release --no-default-features --features=alloc,no_std_net
67+
cargo +nightly check -Zbuild-std=core,alloc --target aarch64-unknown-none -v --release --no-default-features --features=alloc,unstable
68+
cargo +nightly check -Zbuild-std=core,alloc --target aarch64-unknown-none -v --release --no-default-features --features=alloc,no_std_net
6669
6770
WASM:
6871
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)