Skip to content

Commit e9d264d

Browse files
SUPERCILEXsunfishcode
authored andcommitted
Fix Fuchsia target (#504)
* Fix Fuchsia target Signed-off-by: Alex Saveau <[email protected]> * Update main.yml Signed-off-by: Alex Saveau <[email protected]>
1 parent 06a16fa commit e9d264d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
x86_64-apple-darwin
5959
x86_64-unknown-freebsd
6060
x86_64-unknown-netbsd
61-
x86_64-fuchsia
6261
x86_64-unknown-illumos
6362
i686-unknown-linux-gnu
6463
i686-unknown-linux-musl
@@ -76,6 +75,11 @@ jobs:
7675
sparcv9-sun-solaris
7776
aarch64-linux-android
7877
aarch64-apple-ios
78+
- if: matrix.rust == 'nightly'
79+
run: rustup target add x86_64-unknown-fuchsia
80+
- if: matrix.rust != 'nightly'
81+
run: rustup target add x86_64-fuchsia
82+
7983
- name: Install cross-compilation tools
8084
run: |
8185
set -ex
@@ -98,7 +102,10 @@ jobs:
98102
- run: cargo check --workspace --release -vv --target=x86_64-apple-darwin --features=all-apis --all-targets
99103
- run: cargo check --workspace --release -vv --target=x86_64-unknown-freebsd --features=all-apis --all-targets
100104
- run: cargo check --workspace --release -vv --target=x86_64-unknown-netbsd --features=all-apis --all-targets
101-
- run: cargo check --workspace --release -vv --target=x86_64-fuchsia --features=all-apis --all-targets
105+
- if: matrix.rust == 'nightly'
106+
run: cargo check --workspace --release -vv --target=x86_64-unknown-fuchsia --features=all-apis --all-targets
107+
- if: matrix.rust != 'nightly'
108+
run: cargo check --workspace --release -vv --target=x86_64-fuchsia --features=all-apis --all-targets
102109
- run: cargo check --workspace --release -vv --target=x86_64-unknown-illumos --features=all-apis --all-targets
103110
- run: cargo check --workspace --release -vv --target=i686-unknown-linux-gnu --features=all-apis --all-targets
104111
- run: cargo check --workspace --release -vv --target=i686-unknown-linux-musl --features=all-apis --all-targets

0 commit comments

Comments
 (0)