@@ -43,25 +43,30 @@ jobs:
43
43
- name : Test macOS 11
44
44
os : macos-11
45
45
target : x86_64-apple-darwin
46
+ frameworks : macos-11
46
47
- name : Test macOS 12
47
48
os : macos-12
48
49
target : x86_64-apple-darwin
50
+ frameworks : macos-12
49
51
- name : Build macOS AArch64
50
52
os : macos-latest
51
53
target : aarch64-apple-darwin
52
54
test-args : --no-run
55
+ frameworks : macos-11
53
56
- name : Test macOS old SDK
54
57
os : macos-latest
55
58
target : x86_64-apple-darwin
56
59
# Oldest macOS version we support
57
60
sdk : " 10.7"
61
+ frameworks : macos-10-7
58
62
- name : Test macOS nightly (w. ui tests)
59
63
os : macos-latest
60
64
target : x86_64-apple-darwin
61
65
rust :
62
66
toolchain : nightly
63
67
# Run UI tests on nightly to help find regressions
64
68
ui : true
69
+ frameworks : macos-11
65
70
- name : Build macOS 32bit
66
71
os : macos-latest
67
72
target : i686-apple-darwin
@@ -75,17 +80,20 @@ jobs:
75
80
test-args : --no-run
76
81
# Newest SDK that supports 32-bit
77
82
sdk : " 10.13"
83
+ frameworks : macos-10-13
78
84
- name : Test GNUStep with libobjc2 v1.9
79
85
os : ubuntu-latest
80
86
target : x86_64-unknown-linux-gnu
81
87
runtime : gnustep-1-9
82
88
libobjc2 : " 1.9"
89
+ frameworks : gnustep
83
90
- name : Test GNUStep with libobjc2 v2.0
84
91
# Fails for some reason on Ubuntu 22
85
92
os : ubuntu-20.04
86
93
target : x86_64-unknown-linux-gnu
87
94
runtime : gnustep-2-0
88
95
libobjc2 : " 2.0"
96
+ frameworks : gnustep
89
97
- name : Test GNUStep with libobjc2 v2.1 on nightly
90
98
os : ubuntu-latest
91
99
target : x86_64-unknown-linux-gnu
94
102
runtime : gnustep-2-1
95
103
libobjc2 : " 2.1"
96
104
fuzz : true
105
+ frameworks : gnustep
97
106
- name : Test GNUStep 32bit
98
107
# Ubuntu 22 image doesn't have the required C++ libraries
99
108
# installed for 32-bit
@@ -103,18 +112,22 @@ jobs:
103
112
configureflags : --target=x86-pc-linux-gnu
104
113
runtime : gnustep-1-9
105
114
libobjc2 : " 1.9"
115
+ frameworks : gnustep
106
116
- name : Test iOS simulator x86 64bit
107
117
os : macos-11
108
118
target : x86_64-apple-ios
109
119
dinghy : true
120
+ frameworks : ios
110
121
- name : Build iOS simulator ARM64
111
122
os : macos-latest
112
123
target : aarch64-apple-ios-sim
113
124
test-args : --no-run
125
+ frameworks : ios
114
126
- name : Build iOS ARM64
115
127
os : macos-latest
116
128
target : aarch64-apple-ios
117
129
test-args : --no-run
130
+ frameworks : ios
118
131
- name : Build iOS ARMv7
119
132
os : macos-latest
120
133
target : armv7-apple-ios
@@ -124,6 +137,7 @@ jobs:
124
137
components : clippy, rust-src
125
138
args : -Zbuild-std -Zdoctest-xcompile
126
139
test-args : --no-run
140
+ frameworks : ios
127
141
- name : Build iOS ARMv7s
128
142
os : macos-latest
129
143
target : armv7s-apple-ios
@@ -133,6 +147,7 @@ jobs:
133
147
components : clippy, rust-src
134
148
args : -Zbuild-std -Zdoctest-xcompile
135
149
test-args : --no-run
150
+ frameworks : ios
136
151
- name : Build iOS 32bit x86
137
152
os : macos-latest
138
153
target : i386-apple-ios
@@ -142,13 +157,15 @@ jobs:
142
157
components : clippy, rust-src
143
158
args : -Zbuild-std -Zdoctest-xcompile
144
159
test-args : --no-run
160
+ frameworks : ios
145
161
- name : Test Compiler-RT
146
162
os : ubuntu-latest
147
163
target : x86_64-unknown-linux-gnu
148
164
runtime : compiler-rt
149
165
args : -p block-sys -p block2
150
166
features : ' '
151
167
unstable-features : ' '
168
+ frameworks : none
152
169
153
170
env :
154
171
CARGO_BUILD_TARGET : ${{ matrix.target }}
@@ -163,10 +180,8 @@ jobs:
163
180
FEATURES : >-
164
181
${{
165
182
matrix.features || format(
166
- 'malloc,block,exception,catch-all,verify,uuid,{0}',
167
- contains(matrix.target, 'darwin') && 'unstable-macos-frameworks'
168
- || contains(matrix.target, 'ios') && 'unstable-ios-frameworks'
169
- || matrix.target == 'x86_64-unknown-linux-gnu' && 'unstable-gnustep-frameworks' || ''
183
+ 'malloc,block,exception,catch-all,verify,uuid,unstable-frameworks-{0}',
184
+ matrix.frameworks
170
185
)
171
186
}}
172
187
UNSTABLE_FEATURES : ${{ matrix.unstable-features || 'unstable-autoreleasesafe,unstable-c-unwind' }}
0 commit comments