Skip to content

Commit

Permalink
Fix Fuchsia target (#504)
Browse files Browse the repository at this point in the history
* Fix Fuchsia target

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>

* Update main.yml

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
  • Loading branch information
SUPERCILEX authored and sunfishcode committed Jan 17, 2023
1 parent b9594d3 commit 171e506
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 171e506

Please sign in to comment.