Repository navigation
69 lines (62 loc) · 1.96 KB
/
Copy pathbasic-tests.yml
File metadata and controls
69 lines (62 loc) · 1.96 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
name: "Basic Tests"
on:
pull_request:
types:
- 'synchronize'
- 'opened'
jobs:
setup:
uses: ./.github/workflows/reusable_setup.yml
lint-test:
needs: 'setup'
uses: ./.github/workflows/reusable_lint-packages.yml
verify-packages:
needs: 'setup'
uses: ./.github/workflows/reusable_verify-packages.yml
build-example-app-android:
needs: ['verify-packages']
runs-on: 'macos-15'
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: 'Setup Tools'
uses: ./.github/actions/setup-tools
- name: 'Prepare example app'
uses: ./.github/actions/prepare-example-app
- name: 'Build Android example app'
working-directory: ./example-app/android
run: ./gradlew clean assembleDebug
build-example-app-ios:
needs: ['verify-packages']
runs-on: 'macos-15'
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: 'Setup Tools'
uses: ./.github/actions/setup-tools
- name: 'Prepare example app'
uses: ./.github/actions/prepare-example-app
- name: 'Build iOS example app'
working-directory: ./example-app/ios/App
run: xcodebuild clean build -workspace App.xcworkspace -scheme App CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
build-example-app-spm-ios:
needs: ['verify-packages']
runs-on: 'macos-15'
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: 'Setup Tools'
uses: ./.github/actions/setup-tools
- name: 'Prepare example app'
uses: ./.github/actions/prepare-example-app
with:
app-dir: './example-app-spm'
- name: 'Build iOS SPM example app'
working-directory: ./example-app-spm/ios/App
run: xcodebuild clean build -project App.xcodeproj -scheme App CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO