Skip to content

Commit 4b85e49

Browse files
Only build the example for embedded targets
1 parent b16c4c5 commit 4b85e49

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/script.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ set -euxo pipefail
44

55
main() {
66
cargo check --target "$TARGET"
7-
cargo build --target "$TARGET" --examples
7+
8+
if [ "$TARGET" != x86_64-unknown-linux-gnu ]; then
9+
cargo build --target "$TARGET" --examples
10+
fi
811
}
912

1013
main

0 commit comments

Comments
 (0)