build(deps): bump nginx from 63b44e8
to 08bc36a
in /examples/local_ratelimit
#131
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
name: mobile_release_validation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.head_ref-github.workflow || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
validate_swiftpm_example: | |
if: github.repository == 'envoyproxy/envoy' | |
name: validate_swiftpm_example | |
runs-on: macos-12 | |
timeout-minutes: 120 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- id: should_run | |
name: 'Check whether to run' | |
run: ./mobile/tools/should_run_ci.sh | |
- run: cd mobile && ./ci/mac_ci_setup.sh | |
if: steps.should_run.outputs.run_ci_job == 'true' | |
name: 'Install dependencies' | |
- name: 'Build xcframework' | |
if: steps.should_run.outputs.run_ci_job == 'true' | |
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 | |
if: steps.should_run.outputs.run_ci_job == '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" | |
if: steps.should_run.outputs.run_ci_job == 'true' | |
name: 'Build app' | |
# TODO(jpsim): Run app and inspect logs to validate |