Fix build and add CI #198
Workflow file for this run
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-test: | |
runs-on: macos-latest | |
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-latest | |
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 |