-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
# Conflicts: # README.md
- Loading branch information
Showing
213 changed files
with
5,890 additions
and
1,430 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
types: [ opened, synchronize, reopened, ready_for_review ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
buildAndroid: | ||
name: Build Android | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
|
||
steps: | ||
# Code checkout | ||
- name: Checkout code | ||
id: checkout_code | ||
uses: actions/checkout@v4 | ||
|
||
# Setup Java and Gradle | ||
- name: Java and Gradle set up | ||
uses: ./.github/workflows/setup/java-setup | ||
|
||
# Grant execute permission for script | ||
- name: Grant execute permission for script | ||
id: grant_script_permission | ||
shell: bash | ||
run: chmod +x ./scripts/build_android.sh | ||
|
||
# Build and verify Android | ||
- name: Build and verify Android | ||
run: ./scripts/build_android.sh | ||
|
||
buildiOS: | ||
name: Build iOS | ||
runs-on: macos-latest | ||
if: github.event.pull_request.draft == false | ||
|
||
steps: | ||
# Code checkout | ||
- name: Checkout code | ||
id: checkout_code | ||
uses: actions/checkout@v4 | ||
|
||
# Setup Java and Gradle | ||
- name: Java and Gradle set up | ||
uses: ./.github/workflows/setup/java-setup | ||
|
||
# Grant execute permission for script | ||
- name: Grant execute permission for script | ||
id: grant_script_permission | ||
shell: bash | ||
run: chmod +x ./scripts/build_android.sh | ||
|
||
# Setup iOS | ||
- name: iOS set up | ||
uses: ./.github/workflows/setup/ios-setup | ||
|
||
# Build iOS app | ||
- name: Build iOS app | ||
id: build_ios_debug | ||
run: xcodebuild build -workspace sample/iosApp/iosApp.xcworkspace -configuration Debug -scheme iosApp -sdk iphonesimulator -verbose | ||
|
||
buildWeb: | ||
name: Build Web | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
|
||
steps: | ||
# Code checkout | ||
- name: Checkout code | ||
id: checkout_code | ||
uses: actions/checkout@v4 | ||
|
||
# Setup Java and Gradle | ||
- name: Java and Gradle set up | ||
uses: ./.github/workflows/setup/java-setup | ||
|
||
# Grant execute permission for script | ||
- name: Grant execute permission for script | ||
id: grant_script_permission | ||
shell: bash | ||
run: chmod +x ./scripts/build_web.sh | ||
|
||
# Build and verify Web | ||
- name: Build and verify Web | ||
run: ./scripts/build_web.sh | ||
|
||
buildMacOS: | ||
name: Build MacOS | ||
runs-on: macos-latest | ||
if: github.event.pull_request.draft == false | ||
|
||
steps: | ||
# Code checkout | ||
- name: Checkout code | ||
id: checkout_code | ||
uses: actions/checkout@v4 | ||
|
||
# Setup Java and Gradle | ||
- name: Java and Gradle set up | ||
uses: ./.github/workflows/setup/java-setup | ||
|
||
# Grant execute permission for script | ||
- name: Grant execute permission for script | ||
id: grant_script_permission | ||
shell: bash | ||
run: chmod +x ./scripts/build_macos.sh | ||
|
||
# Build and verify MacOS | ||
- name: Build and verify MacOS | ||
run: ./scripts/build_macos.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: iOS set up | ||
description: Sets up Kotlin Native and Cocoapods | ||
runs: | ||
using: "composite" | ||
steps: | ||
- shell: bash | ||
run: ./gradlew :sample:composeApp:generateDummyFramework | ||
|
||
- name: Set up cocoapods | ||
uses: maxim-lobanov/setup-cocoapods@v1 | ||
with: | ||
version: latest | ||
|
||
- shell: bash | ||
name: Install Dependencies | ||
run: | | ||
cd sample/iosApp | ||
pod install --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.