diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 770153b5a..608ddfd8c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,7 +58,6 @@ jobs: x86_64-apple-darwin x86_64-unknown-freebsd x86_64-unknown-netbsd - x86_64-fuchsia x86_64-unknown-illumos i686-unknown-linux-gnu i686-unknown-linux-musl @@ -76,6 +75,11 @@ jobs: sparcv9-sun-solaris aarch64-linux-android aarch64-apple-ios + - if: matrix.rust == 'nightly' + run: rustup target add x86_64-unknown-fuchsia + - if: matrix.rust != 'nightly' + run: rustup target add x86_64-fuchsia + - name: Install cross-compilation tools run: | set -ex @@ -98,7 +102,10 @@ jobs: - run: cargo check --workspace --release -vv --target=x86_64-apple-darwin --features=all-apis --all-targets - run: cargo check --workspace --release -vv --target=x86_64-unknown-freebsd --features=all-apis --all-targets - run: cargo check --workspace --release -vv --target=x86_64-unknown-netbsd --features=all-apis --all-targets - - run: cargo check --workspace --release -vv --target=x86_64-fuchsia --features=all-apis --all-targets + - if: matrix.rust == 'nightly' + run: cargo check --workspace --release -vv --target=x86_64-unknown-fuchsia --features=all-apis --all-targets + - if: matrix.rust != 'nightly' + run: cargo check --workspace --release -vv --target=x86_64-fuchsia --features=all-apis --all-targets - run: cargo check --workspace --release -vv --target=x86_64-unknown-illumos --features=all-apis --all-targets - run: cargo check --workspace --release -vv --target=i686-unknown-linux-gnu --features=all-apis --all-targets - run: cargo check --workspace --release -vv --target=i686-unknown-linux-musl --features=all-apis --all-targets