Skip to content

build(deps): bump jaegertracing/all-in-one from aa450ca to f543abf in /examples/shared/jaeger #551

build(deps): bump jaegertracing/all-in-one from aa450ca to f543abf in /examples/shared/jaeger

build(deps): bump jaegertracing/all-in-one from aa450ca to f543abf in /examples/shared/jaeger #551

name: mobile_release_validation
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
env:
if: ${{ github.repository == 'envoyproxy/envoy' }}
uses: ./.github/workflows/env.yml
secrets: inherit
validate_swiftpm_example:
if: ${{ needs.env.outputs.mobile_release_validation == 'true' }}
needs: env
name: validate_swiftpm_example
runs-on: macos-12
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- run: cd mobile && ./ci/mac_ci_setup.sh
name: 'Install dependencies'
- name: 'Build xcframework'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd mobile && ./bazelw build \
--config=ios \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-macos") \
//:ios_xcframework
# Ignore errors: Bad CRC when unzipping large files: https://bbs.archlinux.org/viewtopic.php?id=153011
- run: unzip mobile/bazel-bin/library/swift/Envoy.xcframework.zip -d mobile/examples/swift/swiftpm/Packages || true
name: 'Unzip xcframework'
- run: xcodebuild -project mobile/examples/swift/swiftpm/EnvoySwiftPMExample.xcodeproj -scheme EnvoySwiftPMExample -destination platform="iOS Simulator,name=iPhone 14 Pro Max,OS=16.1"
name: 'Build app'
# TODO(jpsim): Run app and inspect logs to validate