From 2dc2a39104e68974bcb4ef6b1bd1bc092ebf8283 Mon Sep 17 00:00:00 2001 From: Vickenty Fesunov <kent@setattr.net> Date: Tue, 18 Feb 2020 22:46:02 +0100 Subject: [PATCH] Cross-compile to tier3 apple targets --- ci/build.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ci/build.sh b/ci/build.sh index 0e846873..bb9529cd 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -279,3 +279,17 @@ if [ "${RUST}" = "nightly" ] && [ "${OS}" = "linux" ]; then cargo xbuild --target switch.json fi +RUST_OSX_NO_CORE_TARGETS="\ +armv7-apple-ios \ +armv7s-apple-ios \ +i386-apple-ios \ +i686-apple-darwin \ +" + +if [ "${RUST}" = "nightly" ] && [ "${OS}" = "osx" ]; then + for TARGET in $RUST_OSX_NO_CORE_TARGETS; do + if echo "$TARGET" | grep -q "$FILTER"; then + test_target xbuild "$TARGET" 1 + fi + done +fi -- GitLab