File tree 3 files changed +59
-0
lines changed
3 files changed +59
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,23 @@ matrix:
27
27
- env : TARGET=x86_64-linux-android DISABLE_TESTS=1
28
28
rust : 1.13.0
29
29
30
+ # iOS
31
+ - env : TARGET=aarch64-apple-ios DISABLE_TESTS=1
32
+ rust : 1.13.0
33
+ os : osx
34
+ - env : TARGET=armv7-apple-ios DISABLE_TESTS=1
35
+ rust : 1.13.0
36
+ os : osx
37
+ - env : TARGET=armv7s-apple-ios DISABLE_TESTS=1
38
+ rust : 1.13.0
39
+ os : osx
40
+ - env : TARGET=i386-apple-ios DISABLE_TESTS=1
41
+ rust : 1.13.0
42
+ os : osx
43
+ - env : TARGET=x86_64-apple-ios DISABLE_TESTS=1
44
+ rust : 1.13.0
45
+ os : osx
46
+
30
47
# Linux
31
48
- env : TARGET=aarch64-unknown-linux-gnu
32
49
rust : 1.13.0
@@ -99,6 +116,23 @@ matrix:
99
116
- env : TARGET=x86_64-linux-android DISABLE_TESTS=1
100
117
rust : 1.13.0
101
118
119
+ # iOS is still being worked on, so for now don't block on compilation failures
120
+ - env : TARGET=aarch64-apple-ios DISABLE_TESTS=1
121
+ rust : 1.13.0
122
+ os : osx
123
+ - env : TARGET=armv7-apple-ios DISABLE_TESTS=1
124
+ rust : 1.13.0
125
+ os : osx
126
+ - env : TARGET=armv7s-apple-ios DISABLE_TESTS=1
127
+ rust : 1.13.0
128
+ os : osx
129
+ - env : TARGET=i386-apple-ios DISABLE_TESTS=1
130
+ rust : 1.13.0
131
+ os : osx
132
+ - env : TARGET=x86_64-apple-ios DISABLE_TESTS=1
133
+ rust : 1.13.0
134
+ os : osx
135
+
102
136
# Failures for nightlies may be because of compiler bugs, so don't fail the
103
137
# build if these fail.
104
138
- env : TARGET=x86_64-unknown-linux-gnu
Original file line number Diff line number Diff line change @@ -70,10 +70,15 @@ Tier 2:
70
70
* x86_64-unknown-netbsd
71
71
72
72
Tier 3:
73
+ * aarch64-apple-ios
73
74
* aarch64-linux-android
74
75
* arm-linux-androideabi
76
+ * armv7-apple-ios
75
77
* armv7-linux-androideabi
78
+ * armv7s-apple-ios
79
+ * i386-apple-ios
76
80
* i686-linux-android
81
+ * x86_64-apple-ios
77
82
* x86_64-linux-android
78
83
79
84
## Usage
Original file line number Diff line number Diff line change @@ -10,6 +10,26 @@ main() {
10
10
sort=gsort # for `sort --sort-version`, from brew's coreutils.
11
11
fi
12
12
13
+ # Builds for iOS are done on OSX, but require the specific target to be
14
+ # installed.
15
+ case $TARGET in
16
+ aarch64-apple-ios)
17
+ rustup target install aarch64-apple-ios
18
+ ;;
19
+ armv7-apple-ios)
20
+ rustup target install armv7-apple-ios
21
+ ;;
22
+ armv7s-apple-ios)
23
+ rustup target install armv7s-apple-ios
24
+ ;;
25
+ i386-apple-ios)
26
+ rustup target install i386-apple-ios
27
+ ;;
28
+ x86_64-apple-ios)
29
+ rustup target install x86_64-apple-ios
30
+ ;;
31
+ esac
32
+
13
33
# This fetches latest stable release
14
34
local tag=$( git ls-remote --tags --refs --exit-code https://github.com/japaric/cross \
15
35
| cut -d/ -f3 \
You can’t perform that action at this time.
0 commit comments