Force javaTarget 11 for all non-Android JVM targets #616
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: Build | |
on: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
workflow_dispatch: | |
jobs: | |
linux-build: | |
name: Build on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Update dependencies | |
run: sudo apt-get update | |
- name: Install dependencies | |
run: sudo apt-get install nodejs chromium-browser | |
- name: Build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build -Dsplit_targets | |
macos-build: | |
name: Build on macOS | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Build project | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build -Dsplit_targets | |
- name: Build iOS sample | |
run: xcodebuild -project sample/app-ios/app-ios.xcodeproj -scheme app-ios -sdk iphonesimulator -arch x86_64 build | |
- name: Build iOS Compose sample | |
run: xcodebuild -project sample/app-ios-compose/app-ios-compose.xcodeproj -scheme app-ios-compose -sdk iphonesimulator -arch x86_64 build |