Skip to content

Commit

Permalink
add iOS Build workflow yml, setup build kmm module job
Browse files Browse the repository at this point in the history
  • Loading branch information
ry-itto committed Sep 7, 2022
1 parent e3c5823 commit 626722c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/iOSBuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: iOS Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build-kmm-module:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build KMM Module
run: ./gradlew appioscombined:assembleXCFramework
- name: Upload xcframework artifact
uses: actions/upload-artifact@v3
with:
name: appioscombined.xcframework
path: app-ios-combined/build/XCFrameworks/debug/appioscombined.xcframework/

0 comments on commit 626722c

Please sign in to comment.