File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ trigger :
2
+ - master
3
+
4
+ jobs :
5
+ - job : linux
6
+ pool :
7
+ vmImage : ' Ubuntu 16.04'
8
+ strategy :
9
+ maxParallel : 10
10
+ matrix :
11
+ swift420 :
12
+ containerImage : norionomura/swift:42
13
+ swift421 :
14
+ containerImage : norionomura/swift:421
15
+ container : $[ variables['containerImage'] ]
16
+ steps :
17
+ - script : swift test --parallel
18
+ displayName : swift test
19
+
20
+ - job : Xcode
21
+ pool :
22
+ vmImage : ' macOS 10.13'
23
+ strategy :
24
+ maxParallel : 10
25
+ matrix :
26
+ xcode10 :
27
+ DEVELOPER_DIR : /Applications/Xcode_10.app
28
+ xcode101 :
29
+ DEVELOPER_DIR : /Applications/Xcode_10.1.app
30
+ steps :
31
+ - script : swift package generate-xcodeproj
32
+ displayName : Generate Xcode project file
33
+ - script : xcodebuild -version
34
+ displayName : xcodebuild -version
35
+ - script : >
36
+ set -o pipefail &&
37
+ xcodebuild -project SwiftDataLoader.xcodeproj -scheme SwiftDataLoader-Package test |
38
+ xcpretty -r junit -o build/reports/xcodebuild.xml
39
+ displayName: xcodebuild test
40
+ - task : PublishTestResults@2
41
+ inputs :
42
+ testRunner : JUnit
43
+ testResultsFiles : build/reports/**
44
+ condition : succeededOrFailed()
45
+
46
+ - job : SwiftPM
47
+ pool :
48
+ vmImage : ' macOS 10.13'
49
+ strategy :
50
+ maxParallel : 10
51
+ matrix :
52
+ xcode10 :
53
+ DEVELOPER_DIR : /Applications/Xcode_10.app
54
+ xcode101 :
55
+ DEVELOPER_DIR : /Applications/Xcode_10.1.app
56
+ steps :
57
+ - script : xcodebuild -version
58
+ displayName : xcodebuild -version
59
+ - script : >
60
+ set -o pipefail &&
61
+ swift test --parallel
62
+ displayName: swift test
You can’t perform that action at this time.
0 commit comments