Use kotlin-toochain (Amper) to build #2
This file contains hidden or 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 | |
| # Verifies that the app compiles. | |
| on: [workflow_dispatch, push, pull_request] | |
| permissions: {} | |
| jobs: | |
| build: | |
| name: "Build app" | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: "Checkout PR branch" | |
| uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: "Set up JDK" | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: "Set up Android SDK" | |
| uses: android-actions/setup-android@v3 | |
| - name: "Set up Android NDK" | |
| uses: nttld/setup-ndk@v1 | |
| with: | |
| ndk-version: r26c | |
| - name: "Build app" | |
| working-directory: newbuildsystem | |
| run: ./kotlin build |