-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13930f2
commit 3a6c324
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -27,6 +27,11 @@ jobs: | |
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Setup Xcode version | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: latest-stable | ||
|
||
- name: Build with Gradle | ||
env: | ||
MONSTER_COMPENDIUM_KEYSTORE_PASSWORD: ${{ secrets.MONSTER_COMPENDIUM_KEYSTORE_PASSWORD }} | ||
|
@@ -35,6 +40,9 @@ jobs: | |
- name: Verify database migration | ||
run: chmod +x ./scripts/sqldelight/verifyDatabaseMigration && ./scripts/sqldelight/verifyDatabaseMigration | ||
|
||
- name: Build iOS | ||
run: xcodebuild build -configuration Release -project ./iosApp/MonsterCompendium.xcodeproj -scheme MonsterCompendium CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | ||
|
||
- name: Generate AAB | ||
env: | ||
MONSTER_COMPENDIUM_KEYSTORE_PASSWORD: ${{ secrets.MONSTER_COMPENDIUM_KEYSTORE_PASSWORD }} | ||
|
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 |
---|---|---|
|
@@ -24,13 +24,21 @@ jobs: | |
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
|
||
- name: Setup Xcode version | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: latest-stable | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew testDebugUnitTest jvmTest assembleDebug :app:packageDmg linkDebugFrameworkIosSimulatorArm64 | ||
|
||
- name: Verify database migration | ||
run: chmod +x ./scripts/sqldelight/verifyDatabaseMigration && ./scripts/sqldelight/verifyDatabaseMigration | ||
|
||
- name: Build iOS | ||
run: xcodebuild build -configuration Debug -project ./iosApp/MonsterCompendium.xcodeproj -scheme MonsterCompendium CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | ||
|
||
- name: Upload the test report | ||
if: failure() | ||
uses: actions/[email protected] | ||
|