25
25
# Faster compilation, error on warnings and only document current crate
26
26
RUSTFLAGS : " --codegen=debuginfo=0 --deny=warnings"
27
27
RUSTDOCFLAGS : " --deny=warnings"
28
- # Minimum deployment target
29
- MACOSX_DEPLOYMENT_TARGET : 10.7
30
- IPHONEOS_DEPLOYMENT_TARGET : 7.0
28
+ # Minimum deployment targets.
29
+ # Follows `rustc --target=x86_64-apple-darwin --print deployment-target`
30
+ MACOSX_DEPLOYMENT_TARGET : 10.12
31
+ # Follows `rustc --target=x86_64-apple-ios --print deployment-target`
32
+ IPHONEOS_DEPLOYMENT_TARGET : 10.0
31
33
# We only support compiling Objective-C code with clang
32
34
CC : clang
33
35
CXX : clang++
44
46
--package=objc2-encode
45
47
--package=objc2-proc-macros
46
48
# The current nightly Rust version that our CI uses
47
- CURRENT_NIGHTLY : nightly-2023-08-27
49
+ CURRENT_NIGHTLY : nightly-2023-11-22
48
50
# Various features that we'd usually want to test with
49
51
#
50
52
# Note: The `exception` feature is not enabled here, since it requires
51
53
# compiling C code, even if just running a `check`/`clippy` build.
52
54
INTERESTING_FEATURES : malloc,block,verify,unstable-private
53
55
UNSTABLE_FEATURES : unstable-autoreleasesafe,unstable-c-unwind
54
- LATEST_MACOS_FEATURE : unstable-frameworks-macos-13
56
+ LATEST_MACOS_FEATURE : unstable-frameworks-macos-14
55
57
# Required when we want to use a different runtime than the default `apple`
56
58
OTHER_RUNTIME : --no-default-features --features=std
57
59
# https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
@@ -102,7 +104,7 @@ jobs:
102
104
--features=$INTERESTING_FEATURES
103
105
--features=unstable-frameworks-macos-12
104
106
- name : iOS 32bit
105
- target : armv7 -apple-ios
107
+ target : armv7s -apple-ios
106
108
build-std : true
107
109
args : >-
108
110
-Zbuild-std
@@ -257,7 +259,7 @@ jobs:
257
259
- lint
258
260
259
261
env :
260
- DEVELOPER_DIR : /Applications/Xcode_14.3 .1.app/Contents/Developer
262
+ DEVELOPER_DIR : /Applications/Xcode_15.0 .1.app/Contents/Developer
261
263
262
264
steps :
263
265
- uses : actions/checkout@v3
@@ -354,6 +356,9 @@ jobs:
354
356
fail-fast : true
355
357
matrix :
356
358
include :
359
+ - name : Test macOS 13
360
+ os : macos-13
361
+ frameworks : macos-13
357
362
- name : Test macOS 11
358
363
os : macos-11
359
364
frameworks : macos-11
@@ -362,8 +367,8 @@ jobs:
362
367
frameworks : macos-11
363
368
- name : Test macOS old SDK
364
369
# Oldest macOS version we support
365
- sdk : " 10.7 "
366
- frameworks : macos-10-7
370
+ sdk : " 10.12 "
371
+ frameworks : macos-10-12
367
372
- name : Test macOS nightly
368
373
nightly : true
369
374
frameworks : macos-11
@@ -380,11 +385,6 @@ jobs:
380
385
- name : Build iOS ARM64
381
386
target : aarch64-apple-ios
382
387
frameworks : ios
383
- - name : Build iOS ARMv7
384
- target : armv7-apple-ios
385
- nightly : true
386
- build-std : true
387
- frameworks : ios
388
388
- name : Build iOS ARMv7s
389
389
target : armv7s-apple-ios
390
390
nightly : true
@@ -478,7 +478,7 @@ jobs:
478
478
# TODO: Re-enable this on all of Foundation once we do some form of
479
479
# availability checking.
480
480
- name : Test static class and selectors
481
- if : ${{ !contains(matrix.frameworks, 'ios') && !contains(matrix.frameworks, 'macos-10-7 ') }}
481
+ if : ${{ !contains(matrix.frameworks, 'ios') && !contains(matrix.frameworks, 'macos-10-12 ') }}
482
482
run : >-
483
483
cargo test $ARGS $PUBLIC_CRATES -ptests
484
484
--features=unstable-static-sel,unstable-static-class,unstable-static-nsstring
@@ -545,6 +545,8 @@ jobs:
545
545
- lint
546
546
547
547
strategy :
548
+ # GNUStep tests are currently flaky, this makes it easier to see
549
+ fail-fast : false
548
550
matrix :
549
551
include :
550
552
- name : Test GNUStep with libobjc2 v1.9
0 commit comments