-
Notifications
You must be signed in to change notification settings - Fork 23
56 lines (48 loc) · 1.38 KB
/
pre_submit_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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