Skip to content

Commit

Permalink
set up iOS CI with Azure (#67)
Browse files Browse the repository at this point in the history
* ci: setup ios demos with azure

Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: JP Simard <[email protected]>
  • Loading branch information
junr03 authored and jpsim committed Nov 29, 2022
1 parent e21f4b2 commit 70486b8
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/.gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "envoy"]
path = envoy
url = git@github.com:envoyproxy/envoy.git
url = https://github.com/envoyproxy/envoy.git
58 changes: 58 additions & 0 deletions mobile/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
trigger:
- master

jobs:
- 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'

0 comments on commit 70486b8

Please sign in to comment.