Skip to content

Commit

Permalink
add test for workspace support
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed May 26, 2022
1 parent 6010092 commit 9846c96
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,21 @@ EOF
popd

rm -rf "${td}"
td=$(mktemp -d)
git clone \
--depth 1 \
--recursive \
https://github.com/cross-rs/test-workspace "${td}"

pushd "${td}"
cross run --target "${TARGET}" -p binary --manifest-path="./workspace/Cargo.toml"
pushd "workspace"
cross run --target "${TARGET}" -p binary
pushd "binary"
cross run --target "${TARGET}"
popd
popd
popd
;;
esac

Expand Down

0 comments on commit 9846c96

Please sign in to comment.