Skip to content

Commit b08b7b1

Browse files
committed
ci: Build kotlin delivery pipeline
1 parent d28f83f commit b08b7b1

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

.github/workflows/kotlin.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
tags:
6+
- 'gl-sdk-*'
7+
pull_request: {}
8+
9+
name: Build & Publish framework for Kotlin library
10+
11+
jobs:
12+
13+
build:
14+
runs-on: macos-26
15+
steps:
16+
- name: "Show default version of NDK"
17+
run: echo $ANDROID_NDK_ROOT
18+
19+
- name: "Check out PR branch"
20+
uses: actions/checkout@v4
21+
22+
- name: "Set up JDK"
23+
uses: actions/setup-java@v5
24+
with:
25+
distribution: jetbrains
26+
java-version: 21
27+
28+
- uses: dtolnay/[email protected]
29+
with:
30+
targets: x86_64-linux-android, aarch64-linux-android, armv7-linux-androideabi, i686-linux-android, aarch64-apple-ios, aarch64-apple-ios-sim, x86_64-apple-ios
31+
32+
- uses: pnorton5432/setup-task@v1
33+
34+
- name: "Install NDK"
35+
run: |
36+
cargo install cargo-ndk --version 3.5.4
37+
38+
- name: "Build Kotlin Multiplatform bindings"
39+
run: |
40+
task kotlin-multiplatform
41+
42+
#- name: "Build Android library"
43+
# working-directory: lwk_bindings/android_bindings
44+
# run: |
45+
# ./gradlew assemble --console=plain
46+
47+
#- name: Temporarily save artifact
48+
# uses: actions/upload-artifact@v4
49+
# with:
50+
# name: glsdk-artifact
51+
# path: lwk_bindings/android_bindings
52+
# retention-days: 1

Taskfile.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,7 @@ tasks:
6868
cmds:
6969
- cargo clean
7070
- rm -rf .venv
71+
72+
kotlin-multiplatform:
73+
cmds:
74+
- echo DUMMY BUILD

0 commit comments

Comments
 (0)