-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
envoyproxy/envoy-mobile#71 Signed-off-by: Michael Rebello <[email protected]> Signed-off-by: JP Simard <[email protected]>
- Loading branch information
Showing
2 changed files
with
67 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,85 @@ | ||
resources: | ||
containers: | ||
- container: envoy-container | ||
image: envoyproxy/envoy-build:cfc514546bc0284536893cca5fa43d7128edcd35 | ||
- container: swiftlint-container | ||
image: norionomura/swiftlint:0.33.0_swift-5.0 | ||
|
||
trigger: | ||
- master | ||
|
||
jobs: | ||
- job: ios_swift_lint | ||
timeoutInMinutes: 360 | ||
- job: all_format | ||
timeoutInMinutes: 60 | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
container: swiftlint-container | ||
container: envoy-container | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
- script: swiftlint lint --strict | ||
displayName: 'Run SwiftLint' | ||
- job: iOS_dist | ||
timeoutInMinutes: 360 | ||
pool: | ||
vmImage: 'macos-10.14' | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
- script: ./envoy/ci/mac_ci_setup.sh | ||
displayName: 'Install dependencies' | ||
- script: bazel build --config=ios //:ios_dist | ||
displayName: 'Build Envoy.framework distributable' | ||
- task: PublishPipelineArtifact@0 | ||
displayName: 'Publish Envoy.framework distributable' | ||
inputs: | ||
artifactName: 'Envoy.framework' | ||
targetPath: 'dist/Envoy.framework' | ||
- job: iOS_objc | ||
dependsOn: iOS_dist | ||
timeoutInMinutes: 360 | ||
pool: | ||
vmImage: 'macos-10.14' | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
- script: ./envoy/ci/mac_ci_setup.sh | ||
displayName: 'Install dependencies' | ||
- script: mkdir -p dist/Envoy.framework | ||
displayName: 'Create directory for distributable' | ||
- task: DownloadPipelineArtifact@0 | ||
displayName: 'Download Envoy.framework distributable' | ||
inputs: | ||
artifactName: Envoy.framework | ||
targetPath: ./dist/Envoy.framework | ||
- script: bazel build --config=ios //examples/objective-c/hello_world:app | ||
displayName: 'Build objective-c app' | ||
- job: iOS_swift | ||
dependsOn: iOS_dist | ||
timeoutInMinutes: 360 | ||
- script: ./tools/check_format.sh | ||
displayName: 'Run formatters' | ||
- job: ios_swift_lint | ||
timeoutInMinutes: 60 | ||
pool: | ||
vmImage: 'macos-10.14' | ||
vmImage: 'Ubuntu 16.04' | ||
container: swiftlint-container | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
- script: ./envoy/ci/mac_ci_setup.sh | ||
displayName: 'Install dependencies' | ||
- script: mkdir -p dist/Envoy.framework | ||
displayName: 'Create directory for distributable' | ||
- task: DownloadPipelineArtifact@0 | ||
displayName: 'Download Envoy.framework distributable' | ||
inputs: | ||
artifactName: Envoy.framework | ||
targetPath: ./dist/Envoy.framework | ||
- script: bazel build --config=ios //examples/swift/hello_world:app | ||
displayName: 'Build swift app' | ||
- script: swiftlint lint --strict | ||
displayName: 'Run SwiftLint' | ||
# - job: iOS_dist | ||
# timeoutInMinutes: 360 | ||
# pool: | ||
# vmImage: 'macos-10.14' | ||
# steps: | ||
# - checkout: self | ||
# submodules: true | ||
# - script: ./envoy/ci/mac_ci_setup.sh | ||
# displayName: 'Install dependencies' | ||
# - script: bazel build --config=ios //:ios_dist | ||
# displayName: 'Build Envoy.framework distributable' | ||
# - task: PublishPipelineArtifact@0 | ||
# displayName: 'Publish Envoy.framework distributable' | ||
# inputs: | ||
# artifactName: 'Envoy.framework' | ||
# targetPath: 'dist/Envoy.framework' | ||
# - job: iOS_objc | ||
# dependsOn: iOS_dist | ||
# timeoutInMinutes: 360 | ||
# pool: | ||
# vmImage: 'macos-10.14' | ||
# steps: | ||
# - checkout: self | ||
# submodules: true | ||
# - script: ./envoy/ci/mac_ci_setup.sh | ||
# displayName: 'Install dependencies' | ||
# - script: mkdir -p dist/Envoy.framework | ||
# displayName: 'Create directory for distributable' | ||
# - task: DownloadPipelineArtifact@0 | ||
# displayName: 'Download Envoy.framework distributable' | ||
# inputs: | ||
# artifactName: Envoy.framework | ||
# targetPath: ./dist/Envoy.framework | ||
# - script: bazel build --config=ios //examples/objective-c/hello_world:app | ||
# displayName: 'Build objective-c app' | ||
# - job: iOS_swift | ||
# dependsOn: iOS_dist | ||
# timeoutInMinutes: 360 | ||
# pool: | ||
# vmImage: 'macos-10.14' | ||
# steps: | ||
# - checkout: self | ||
# submodules: true | ||
# - script: ./envoy/ci/mac_ci_setup.sh | ||
# displayName: 'Install dependencies' | ||
# - script: mkdir -p dist/Envoy.framework | ||
# displayName: 'Create directory for distributable' | ||
# - task: DownloadPipelineArtifact@0 | ||
# displayName: 'Download Envoy.framework distributable' | ||
# inputs: | ||
# artifactName: Envoy.framework | ||
# targetPath: ./dist/Envoy.framework | ||
# - script: bazel build --config=ios //examples/swift/hello_world:app | ||
# displayName: 'Build swift app' |