Skip to content

Commit 2b37815

Browse files
committed
Add more targets to check on CI
1 parent 206b2a0 commit 2b37815

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,17 @@ jobs:
5656
runs-on: ubuntu-latest
5757
strategy:
5858
matrix:
59-
target: [x86_64-unknown-redox, x86_64-fuchsia]
59+
target: ["aarch64-apple-ios", "aarch64-linux-android", "x86_64-apple-darwin", "x86_64-fuchsia", "x86_64-pc-windows-msvc", "x86_64-sun-solaris", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu", "x86_64-unknown-netbsd", "x86_64-unknown-redox"]
6060
steps:
6161
- uses: actions/checkout@master
6262
- name: Install Rust
63-
run: rustup update nightly && rustup default nightly
64-
- run: rustup target add ${{ matrix.target }}
65-
- run: cargo check --target ${{ matrix.target }} --all-targets --examples --bins --tests --no-default-features
66-
- run: cargo check --target ${{ matrix.target }} --all-targets --examples --bins --tests --all-features
67-
continue-on-error: true
63+
run: rustup update stable && rustup default stable
64+
- name: Install cargo-hack
65+
run: cargo install cargo-hack
66+
- name: Install Target
67+
run: rustup target add ${{ matrix.target }}
68+
- name: Run check
69+
run: cargo hack check --feature-powerset --all-targets --examples --bins --tests --target ${{ matrix.target }}
6870

6971
Publish_docs:
7072
name: Publish Documentation

0 commit comments

Comments
 (0)