-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (54 loc) · 1.89 KB
/
build-ios.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
name: Build iOS Framework
on: [push]
jobs:
build:
runs-on: macos-11
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Build klibs
run: ./gradlew iosArm64MainKlibrary iosX64MainKlibrary -Pkotlin.experimental.tryK2=false
- name: Build XCFrameworks
run: ./gradlew assembleVcLibKmmXCFramework assembleVcLibAriesKmmXCFramework assembleVcLibOpenIdKmmXCFramework -Pkotlin.experimental.tryK2=false
- name: Upload debug XCFramework vclib
uses: actions/upload-artifact@v3
with:
name: VcLibKmm-debug.xcframework
path: |
vclib/build/XCFrameworks/debug/
- name: Upload debug XCFramework vclib-aries
uses: actions/upload-artifact@v3
with:
name: VcLibAriesKmm-debug.xcframework
path: |
vclib-aries/build/XCFrameworks/debug/
- name: Upload debug XCFramework vclib-openid
uses: actions/upload-artifact@v3
with:
name: VcLibOpenIdKmm-debug.xcframework
path: |
vclib-openid/build/XCFrameworks/debug/
- name: Upload release XCFramework vclib
uses: actions/upload-artifact@v3
with:
name: VcLibKmm-release.xcframework
path: |
vclib/build/XCFrameworks/release/
- name: Upload release XCFramework vclib-aries
uses: actions/upload-artifact@v3
with:
name: VcLibAriesKmm-release.xcframework
path: |
vclib-aries/build/XCFrameworks/release/
- name: Upload release XCFramework vclib-openid
uses: actions/upload-artifact@v3
with:
name: VcLibOpenIdKmm-release.xcframework
path: |
vclib-openid/build/XCFrameworks/release/