diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml index d2b82d2..e272f93 100644 --- a/.github/workflows/pr-checks.yaml +++ b/.github/workflows/pr-checks.yaml @@ -34,3 +34,84 @@ jobs: with: name: error-report path: build-reports.zip + + + build-android-multiplatform-sample: + name: Build Android Multiplatform Sample + runs-on: ubuntu-latest + needs: [test] + steps: + - uses: actions/checkout@v3 + + - name: set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: 17 + + - uses: gradle/gradle-build-action@v2.4.2 + with: + gradle-home-cache-cleanup: true + + - name: Build Android Sample + run: ./gradlew :sample:androidApp:assembleRelease + + build-android-sample: + name: Build Android Sample + runs-on: ubuntu-latest + needs: [test] + steps: + - uses: actions/checkout@v3 + + - name: set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: 17 + + - uses: gradle/gradle-build-action@v2.4.2 + with: + gradle-home-cache-cleanup: true + + - name: Build Android Sample + run: ./gradlew :sampleandroid:assembleRelease + + build-desktop-app: + name: Build Desktop App + runs-on: ubuntu-latest + needs: [test] + steps: + - uses: actions/checkout@v3 + + - name: set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: 17 + + - uses: gradle/gradle-build-action@v2.4.2 + with: + gradle-home-cache-cleanup: true + + - name: Build Desktop App + run: ./gradlew :sample:desktopApp:packageDistributionForCurrentOS + + build-ios-sample: + name: Build iOS Sample + runs-on: macos-latest + needs: [test] + steps: + - uses: actions/checkout@v3 + + - name: set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: 17 + + - uses: gradle/gradle-build-action@v2.4.2 + with: + gradle-home-cache-cleanup: true + + - name: Build iOS Sample + run: xcodebuild -project sample/iosApp/iosApp.xcodeproj -configuration Debug -scheme iosApp -sdk iphoneos -destination name='iPhone 15 Pro' build diff --git a/sample/iosApp/iosApp.xcodeproj/project.pbxproj b/sample/iosApp/iosApp.xcodeproj/project.pbxproj index 5731eca..43da313 100644 --- a/sample/iosApp/iosApp.xcodeproj/project.pbxproj +++ b/sample/iosApp/iosApp.xcodeproj/project.pbxproj @@ -340,7 +340,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\""; - DEVELOPMENT_TEAM = 2LS7B6UW98; + DEVELOPMENT_TEAM = Q7CUB3RNAK; ENABLE_PREVIEWS = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -370,7 +370,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\""; - DEVELOPMENT_TEAM = 2LS7B6UW98; + DEVELOPMENT_TEAM = Q7CUB3RNAK; ENABLE_PREVIEWS = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", diff --git a/sample/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata/mg.xcuserdatad/UserInterfaceState.xcuserstate b/sample/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata/mg.xcuserdatad/UserInterfaceState.xcuserstate index 8bfdc88..4ccd82e 100644 Binary files a/sample/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata/mg.xcuserdatad/UserInterfaceState.xcuserstate and b/sample/iosApp/iosApp.xcodeproj/project.xcworkspace/xcuserdata/mg.xcuserdatad/UserInterfaceState.xcuserstate differ