Skip to content

Commit 5583b5b

Browse files
committed
Add aarch64-apple-darwin to nightly targets
1 parent ee94cf8 commit 5583b5b

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

ci/build.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,16 @@ x86_64-unknown-illumos \
154154
x86_64-unknown-linux-gnux32 \
155155
"
156156

157-
RUST_OSX_TARGETS="\
158-
aarch64-apple-darwin \
157+
RUST_APPLE_TARGETS="\
159158
aarch64-apple-ios \
160159
x86_64-apple-darwin \
161160
x86_64-apple-ios \
162161
"
163162

163+
RUST_NIGHTLY_APPLE_TARGETS="\
164+
aarch64-apple-darwin \
165+
"
166+
164167
# The targets are listed here alphabetically
165168
TARGETS=""
166169
case "${OS}" in
@@ -183,7 +186,12 @@ case "${OS}" in
183186

184187
;;
185188
macos*)
186-
TARGETS="${RUST_OSX_TARGETS}"
189+
TARGETS="${RUST_APPLE_TARGETS}"
190+
191+
if [ "${RUST}" = "nightly" ]; then
192+
TARGETS="${TARGETS} ${RUST_NIGHTLY_APPLE_TARGETS}"
193+
fi
194+
187195
;;
188196
*)
189197
;;

0 commit comments

Comments
 (0)