Skip to content

Commit 659f424

Browse files
authored
Try #1112:
2 parents 35a1e17 + 83bf87b commit 659f424

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ci/test.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,22 @@ main() {
197197

198198
rm -rf "${td}"
199199
fi
200+
201+
# tst cmake support
202+
td="$(mkcargotemp -d)"
203+
204+
git clone --depth 1 https://github.com/cross-rs/rust-cmake-hello-world "${td}"
205+
206+
pushd "${td}"
207+
retry cargo fetch
208+
if (( ${RUN:-0} )); then
209+
cross_run --target "${TARGET}"
210+
else
211+
"${CROSS[@]}" build --target "${TARGET}" ${CROSS_FLAGS}
212+
fi
213+
popd
214+
215+
rm -rf "${td}"
200216
}
201217

202218
cross_run() {

0 commit comments

Comments
 (0)