From 2955116df4db41a21cf0b248e656d0c2a0142c71 Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Fri, 6 Jan 2023 22:02:15 -0800 Subject: [PATCH 1/2] Fix Fuchsia target Signed-off-by: Alex Saveau --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 770153b5a..fa9d5a611 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,7 +58,7 @@ jobs: x86_64-apple-darwin x86_64-unknown-freebsd x86_64-unknown-netbsd - x86_64-fuchsia + x86_64-unknown-fuchsia x86_64-unknown-illumos i686-unknown-linux-gnu i686-unknown-linux-musl @@ -98,7 +98,7 @@ 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 + - run: cargo check --workspace --release -vv --target=x86_64-unknown-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 From b149c38472713a12e8be347af58b81c25bb52fdb Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Sat, 7 Jan 2023 00:32:32 -0800 Subject: [PATCH 2/2] Update main.yml --- .github/workflows/main.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa9d5a611..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-unknown-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-unknown-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