diff --git a/ci/test.sh b/ci/test.sh index 474d61a12..b9b71ada9 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -197,6 +197,22 @@ main() { rm -rf "${td}" fi + + # tst cmake support + td="$(mkcargotemp -d)" + + git clone --depth 1 https://github.com/cross-rs/rust-cmake-hello-world "${td}" + + pushd "${td}" + retry cargo fetch + if (( ${RUN:-0} )); then + cross_run --target "${TARGET}" + else + "${CROSS[@]}" build --target "${TARGET}" ${CROSS_FLAGS} + fi + popd + + rm -rf "${td}" } cross_run() {