-
Notifications
You must be signed in to change notification settings - Fork 195
37 lines (34 loc) · 970 Bytes
/
build_test_amplify.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
name: Build Test Amplify
on:
workflow_call:
workflow_dispatch:
push:
branches-ignore:
- v1
- release-v1
pull_request:
branches:
- v1
permissions:
contents: read
jobs:
build-test-amplify:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Build Test Amplify
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: .
workspace: Amplify.xcworkspace
scheme: Amplify
build-amplify-spm:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Build Amplify for SPM
run: xcodebuild build-for-testing -scheme Amplify-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 13,OS=latest' | xcpretty