-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.02 KB
/
build.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
name: build
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]
jobs:
build_web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Capacitor iOS
uses: ./.github/actions/capacitor-setup-web
- name: Run Build
run: npm run verify:web
build_ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup Capacitor iOS
uses: ./.github/actions/capacitor-setup-ios
- name: Run Build
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app
run: |
cd ios
xcodebuild \
-quiet \
-workspace Plugin.xcworkspace \
-scheme Plugin \
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'
build_android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Capacitor Android
uses: ./.github/actions/capacitor-setup-android
- name: Run Build
run: npm run verify:android