File tree 3 files changed +22
-7
lines changed
3 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 16
16
runs-on : macos-11
17
17
strategy :
18
18
matrix :
19
- xcode : [12.4, 12.5]
19
+ xcode : [" 12.4", " 12.5", "13.0" ]
20
20
env :
21
21
DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app
22
22
steps :
Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
xcode :
15
- name : Xcode ${{ matrix.xcode }} - ${{ matrix.platform }}
15
+ name : Xcode ${{ matrix.xcode }} (Xcode Project)
16
16
runs-on : macos-11
17
17
strategy :
18
18
matrix :
19
- xcode : [12.4, 12.5]
20
- platform : [macos, ios, tvos]
19
+ xcode : ["12.4", "12.5", "13.0"]
21
20
fail-fast : false
22
21
env :
23
22
DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app
24
23
steps :
25
24
- uses : actions/checkout@v2
26
- - run : ./test ${{ matrix.platform }}
27
- - run : ./test ${{ matrix.platform }}_xcodespm
25
+ - run : ./test macos
26
+ - run : ./test ios
27
+ - run : ./test tvos
28
+
29
+ xcode_spm :
30
+ name : Xcode ${{ matrix.xcode }} (Swift Package)
31
+ runs-on : macos-11
32
+ strategy :
33
+ matrix :
34
+ xcode : ["12.4", "12.5", "13.0"]
35
+ fail-fast : false
36
+ env :
37
+ DEVELOPER_DIR : /Applications/Xcode_${{ matrix.xcode }}.app
38
+ steps :
39
+ - uses : actions/checkout@v2
40
+ - run : ./test macos_xcodespm
41
+ - run : ./test ios_xcodespm
42
+ - run : ./test tvos_xcodespm
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ function test_macos {
79
79
function test_xcode_spm_macos {
80
80
mv Nimble.xcodeproj Nimble.xcodeproj.bak
81
81
trap ' mv Nimble.xcodeproj.bak Nimble.xcodeproj' EXIT
82
- run set -o pipefail && xcodebuild -scheme " Nimble" -configuration " Debug" -sdk " macosx$BUILD_MACOS_SDK_VERSION " OTHER_SWIFT_FLAGS=' $(inherited) -suppress-warnings' build-for-testing test-without-building | xcpretty
82
+ run set -o pipefail && xcodebuild -scheme " Nimble" -configuration " Debug" -sdk " macosx$BUILD_MACOS_SDK_VERSION " -destination " platform=macOS " OTHER_SWIFT_FLAGS=' $(inherited) -suppress-warnings' build-for-testing test-without-building | xcpretty
83
83
}
84
84
85
85
function test_xcode_spm_ios {
You can’t perform that action at this time.
0 commit comments