Skip to content

Implement share monsters on folders and search #85

Implement share monsters on folders and search

Implement share monsters on folders and search #85

Workflow file for this run

name: Multiplatform PR
on:
pull_request:
paths-ignore:
- '**.md'
- 'media/**'
jobs:
multiplatform-build:
name: Multiplatform Build
runs-on: macos-latest
steps:
- uses: actions/[email protected]
- name: set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/[email protected]
- 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]
with:
name: TestReport
path: |
feature-monster-compendium/build/reports/tests
data/build/reports/tests
domain/build/reports/tests
- name: Upload Dmg
uses: actions/[email protected]
with:
name: MonsterCompendium-dmg
path: app/build/compose/binaries/main/dmg/*.dmg
- name: Upload an APK
uses: actions/[email protected]
with:
name: app-debug-apk
path: app/build/outputs/apk/debug/app-debug.apk
- name: Upload an APK metadata JSON
uses: actions/[email protected]
with:
name: app-output-metadata-json
path: app/build/outputs/apk/debug/output-metadata.json
ubuntu-desktop-distribution:
name: Ubuntu Desktop Distribution
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/[email protected]
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :app:packageDeb
- name: Upload Deb
uses: actions/[email protected]
with:
name: MonsterCompendium-deb
path: app/build/compose/binaries/main/deb/*.deb
windows-desktop-distribution:
name: Windows Desktop Distribution
runs-on: windows-latest
steps:
- uses: actions/[email protected]
- name: set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/[email protected]
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :app:packageMsi
- name: Upload Msi
uses: actions/[email protected]
with:
name: MonsterCompendium-msi
path: app/build/compose/binaries/main/msi/*.msi