Skip to content

Commit

Permalink
Cleanup separate modules
Browse files Browse the repository at this point in the history
  • Loading branch information
geoff-powell committed Dec 15, 2023
1 parent 8f3f025 commit d8c333c
Show file tree
Hide file tree
Showing 22 changed files with 162 additions and 407 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -17,22 +15,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

- name: Build with Gradle
run: ./gradlew android:assembleDebug
run: ./gradlew composeApp:assembleDebug

build-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: set up JDK 17
uses: actions/setup-java@v4
with:
Expand All @@ -42,13 +45,15 @@ jobs:

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew android:assembleRelease
run: ./gradlew composeApp:assembleRelease

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: set up JDK 17
uses: actions/setup-java@v4
with:
Expand All @@ -58,5 +63,6 @@ jobs:

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew android:check
run: ./gradlew composeApp:testDebugUnitTest
12 changes: 6 additions & 6 deletions .github/workflows/desktop-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -27,11 +25,13 @@ jobs:
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

- name: Build with Gradle
run: ./gradlew desktop:assemble
run: ./gradlew composeApp:desktopJar

Build-Web:
runs-on: ubuntu-latest
Expand All @@ -56,4 +56,4 @@ jobs:
node-version: '10.x'

- name: Build with Gradle
run: ./gradlew jsApp:assemble
run: ./gradlew composeApp:jsJar
39 changes: 20 additions & 19 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -16,6 +14,9 @@ jobs:
build:
runs-on: macos-latest
steps:
- name: Check Xcode version
run: /usr/bin/xcodebuild -version

- name: Checkout Repo
uses: actions/checkout@v4

Expand All @@ -26,20 +27,20 @@ jobs:
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- shell: bash
run: ./gradlew generateDummyFramework

- name: Set up cocoapods
uses: maxim-lobanov/setup-cocoapods@v1
with:
version: latest

- name: Install cocoapods
shell: bash
run: ./gradlew podInstall
- name: Setup gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

- name: Build with Gradle
run: ./gradlew iosSimulatorArm64Binaries
- name: Build App
uses: yukiarrr/[email protected]
with:
project-path: iosApp/iosApp.xcodeproj
p12-base64: ${{ secrets.IOS_DEV_CERT }}
mobileprovision-base64: ${{ secrets.IOS_PROVISIONING_PROFILE }}
code-signing-identity: "Geoff Powell"
configuration: "Debug"
certificate-password: ${{ secrets.IOS_CERT_PASSWORD }}
scheme: "iosApp"
build-destination: "generic/platform=iOS"
team-id: ${{ secrets.IOS_TEAM_ID }}
3 changes: 0 additions & 3 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 0 additions & 41 deletions android/build.gradle.kts

This file was deleted.

19 changes: 0 additions & 19 deletions android/src/main/AndroidManifest.xml

This file was deleted.

21 changes: 0 additions & 21 deletions android/src/main/java/com/greenmiststudios/tidy/Application.kt

This file was deleted.

63 changes: 0 additions & 63 deletions android/src/main/java/com/greenmiststudios/tidy/MainActivity.kt

This file was deleted.

Loading

0 comments on commit d8c333c

Please sign in to comment.