8# Cancel an in-progress run when a newer commit is pushed to the same ref, so CI minutes
9# aren't spent finishing a build that's already superseded.
11 group: ${{ github.workflow }}-${{ github.ref }}
12 cancel-in-progress: true
15 # The Crux core is plain Rust — build and unit-test it natively (the Android
16 # shell mirrors this logic; see README).
19 runs-on: ubuntu-latest
21 - uses: actions/checkout@v4
22 - name: Test the Crux core
23 working-directory: shared
28 runs-on: ubuntu-latest
31 - uses: actions/checkout@v4
33 - uses: actions/setup-java@v4
38 - uses: android-actions/setup-android@v3
40 - uses: gradle/actions/setup-gradle@v4
42 - name: Run unit tests
43 run: ./gradlew testDebugUnitTest --no-daemon
46 run: ./gradlew lintDebug --no-daemon
48 - name: Build debug APK
49 run: ./gradlew assembleDebug --no-daemon
51 - name: Upload debug APK
52 uses: actions/upload-artifact@v4
54 name: opencode-debug.apk
55 path: app/build/outputs/apk/debug/*.apk
56 if-no-files-found: error
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list