Skip to content

Commit e358dbc

Browse files
test: build app in CI using the new amper toolchain
1 parent 523b374 commit e358dbc

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build
2+
3+
# Verifies that the app compiles.
4+
5+
on: [workflow_dispatch, push, pull_request]
6+
7+
permissions: {}
8+
9+
jobs:
10+
build:
11+
name: "Build app"
12+
runs-on: ubuntu-24.04
13+
14+
steps:
15+
- name: "Checkout PR branch"
16+
uses: actions/checkout@v5
17+
with:
18+
persist-credentials: false
19+
20+
- name: "Set up JDK"
21+
uses: actions/setup-java@v5
22+
with:
23+
distribution: temurin
24+
java-version: 17
25+
26+
- name: "Set up Android SDK"
27+
uses: android-actions/setup-android@v3
28+
29+
- name: "Set up Android NDK"
30+
uses: nttld/setup-ndk@v1
31+
with:
32+
ndk-version: r26c
33+
34+
- name: "Build app"
35+
working-directory: newbuildsystem
36+
run: ./kotlin build

0 commit comments

Comments
 (0)