Create manual-push-a-pod.yml #294
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: Pre submit checks | |
on: | |
pull_request: | |
branches: | |
- "main" | |
- "grpc_release_**" | |
repository_dispatch: | |
types: [pre-submit-check] | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
pre-submit-spm-build-package: | |
runs-on: macos-14 | |
strategy: | |
matrix: | |
platform: [iOS, macOS, tvOS] | |
steps: | |
- name: repo checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Prepare environment | |
run: scripts/prepare_env.sh | |
- name: spm package build | |
run: scripts/build_spm_package.sh generic/platform=${{ matrix.platform }} | |
pre-submit-spm-build-test: | |
runs-on: macos-14 | |
steps: | |
- name: repo checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Prepare environment | |
run: scripts/prepare_env.sh | |
- name: spm sample app build test | |
run: scripts/build_test_spm_samples.sh | |
pre-submit-cocoapod-build-test: | |
runs-on: macos-14 | |
steps: | |
- name: repo checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Prepare environment | |
run: scripts/prepare_env.sh | |
- name: cocoapod sample build test | |
run: scripts/build_test_cocoapod_samples.sh |