Update dependency androidx.activity:activity-compose to v1.8.2 #59
Workflow file for this run
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
name: PR Checks | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test: | |
name: Run tests | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- uses: gradle/[email protected] | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Cache KMP tooling | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.konan | |
key: ${{ runner.os }}-v1-${{ hashFiles('*.gradle.kts') }} | |
- name: Test | |
run: ./gradlew :rssparser:check | |
- name: (Fail-only) Bundle test reports | |
if: failure() | |
run: find . -type d -name 'reports' | zip -@ -r build-reports.zip | |
- name: (Fail-only) Upload the build report | |
if: failure() | |
uses: actions/upload-artifact@v2 | |
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/[email protected] | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Cache KMP tooling | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.konan | |
key: ${{ runner.os }}-v1-${{ hashFiles('*.gradle.kts') }} | |
- 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/[email protected] | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Cache KMP tooling | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.konan | |
key: ${{ runner.os }}-v1-${{ hashFiles('*.gradle.kts') }} | |
- 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/[email protected] | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Cache KMP tooling | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.konan | |
key: ${{ runner.os }}-v1-${{ hashFiles('*.gradle.kts') }} | |
- 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/[email protected] | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Cache KMP tooling | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.konan | |
key: ${{ runner.os }}-v1-${{ hashFiles('*.gradle.kts') }} | |
- name: Build iOS Sample | |
run: xcodebuild -project sample/iosApp/iosApp.xcodeproj -configuration Debug -scheme iosApp -sdk iphoneos -destination name='iPhone 14 Pro' build |