@@ -12,66 +12,74 @@ jobs:
1212 build :
1313 runs-on : ${{ matrix.runsOn }}
1414 env :
15- DEVELOPER_DIR : " /Applications/${{ matrix.xcode }}/Contents/Developer"
15+ DEVELOPER_DIR : " /Applications/Xcode_ ${{ matrix.xcode }}.app /Contents/Developer"
1616 strategy :
1717 matrix :
1818 include :
19- - swift : " 5.6"
20- xcode : " Xcode_13.3.1.app"
19+ - name : " Swift 5.6"
20+ swift : " 5.6"
21+ xcode : " 13.3.1"
2122 runsOn : macos-12
22- - swift : " 5.5"
23- xcode : " Xcode_13.2.1.app"
23+ - name : " Swift 5.5"
24+ swift : " 5.5"
25+ xcode : " 13.2.1"
2426 runsOn : macos-11
25- - swift : " 5.4"
26- xcode : " Xcode_12.5.1.app"
27+ - name : " Swift 5.4"
28+ swift : " 5.4"
29+ xcode : " 12.5.1"
2730 runsOn : macos-11
31+ - name : " Swift 5.3"
32+ swift : " 5.3"
33+ xcode : " 12.4"
34+ runsOn : macos-10.5
35+ - name : " Swift 5.2"
36+ swift : " 5.2"
37+ xcode : " 11.7"
38+ runsOn : macos-10.5
39+ - name : " Swift 5.1"
40+ swift : " 5.1"
41+ xcode : " 11.3.1"
42+ runsOn : macos-10.5
2843 steps :
2944 - uses : actions/checkout@v2
3045 - name : ${{ matrix.name }}
3146 run : xcodebuild -scheme FloatingPanel SWIFT_VERSION=${{ matrix.swift }} clean build
3247
33- build_compat :
34- runs-on : macos-10.15
35- steps :
36- - uses : actions/checkout@v1
37- - name : " Swift 5.1"
38- run : xcodebuild -scheme FloatingPanel SWIFT_VERSION=5.1 clean build
39- env :
40- DEVELOPER_DIR : /Applications/Xcode_11.3.1.app/Contents/Developer
41- - name : " Swift 5.2"
42- run : xcodebuild -scheme FloatingPanel SWIFT_VERSION=5.2 clean build
43- env :
44- DEVELOPER_DIR : /Applications/Xcode_11.7.app/Contents/Developer
45- - name : " Swift 5.3"
46- run : xcodebuild -scheme FloatingPanel SWIFT_VERSION=5.3 clean build
47- env :
48- DEVELOPER_DIR : /Applications/Xcode_12.4.app/Contents/Developer
49-
5048 testing :
51- runs-on : macos-11
52- steps :
53- - uses : actions/checkout@v1
54- - name : " Testing in iOS 14.5"
55- run : xcodebuild clean test -scheme FloatingPanel -workspace FloatingPanel.xcworkspace -destination 'platform=iOS Simulator,OS=14.5,name=iPhone 12 Pro'
56- env :
57- DEVELOPER_DIR : /Applications/Xcode_12.5.1.app/Contents/Developer
58- - name : " Testing in iOS 15.0"
59- run : xcodebuild clean test -scheme FloatingPanel -workspace FloatingPanel.xcworkspace -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13 Pro'
60- env :
61- DEVELOPER_DIR : /Applications/Xcode_13.0.app/Contents/Developer
62-
63- testing_compat :
64- runs-on : macos-10.15
49+ runs-on : ${{ matrix.runsOn }}
50+ env :
51+ DEVELOPER_DIR : " /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer"
52+ strategy :
53+ matrix :
54+ include :
55+ - os : " 15.4"
56+ xcode : " 13.3.1"
57+ sim : " iPhone 13 Pro"
58+ runsOn : macos-12
59+ - os : " 15.2"
60+ xcode : " 13.2.1"
61+ sim : " iPhone 13 Pro"
62+ runsOn : macos-11
63+ - os : " 15.0"
64+ xcode : " 13.1"
65+ sim : " iPhone 13 Pro"
66+ runsOn : macos-11
67+ - os : " 14.5"
68+ xcode : " 12.5.1"
69+ sim : " iPhone 12 Pro"
70+ runsOn : macos-11
71+ - os : " 14.4"
72+ xcode : " 12.4"
73+ sim : " iPhone 12 Pro"
74+ runsOn : macos-10.15
75+ - os : " 13.7"
76+ xcode : " 11.7"
77+ sim : " iPhone 11 Pro"
78+ runsOn : macos-10.15
6579 steps :
66- - uses : actions/checkout@v1
67- - name : " Testing in iOS 13.7"
68- run : xcodebuild clean test -scheme FloatingPanel -workspace FloatingPanel.xcworkspace -destination 'platform=iOS Simulator,OS=13.7,name=iPhone 11 Pro'
69- env :
70- DEVELOPER_DIR : /Applications/Xcode_11.7.app/Contents/Developer
71- - name : " Testing in iOS 14.4"
72- run : xcodebuild clean test -scheme FloatingPanel -workspace FloatingPanel.xcworkspace -destination 'platform=iOS Simulator,OS=14.4,name=iPhone 12 Pro'
73- env :
74- DEVELOPER_DIR : /Applications/Xcode_12.4.app/Contents/Developer
80+ - uses : actions/checkout@v2
81+ - name : " Testing in iOS ${{ matrix.os }}"
82+ run : xcodebuild clean test -scheme FloatingPanel -workspace FloatingPanel.xcworkspace -destination 'platform=iOS Simulator,OS=${{ matrix.os }},name=${{ matrix.sim }}'
7583
7684 example :
7785 runs-on : macos-12
98106 carthage :
99107 runs-on : macos-11
100108 steps :
101- - uses : actions/checkout@v1
109+ - uses : actions/checkout@v2
102110 - name : " Carthage build"
103111 run : carthage build --use-xcframeworks --no-skip-current
104112
0 commit comments