File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches : [main]
66 pull_request :
77 branches : [main]
8+ workflow_dispatch :
89
910jobs :
1011 lint :
@@ -31,16 +32,16 @@ jobs:
3132 distribution : temurin
3233 java-version : 17
3334
34- - name : Set up NDK
35- uses : nttld/setup-ndk@v1
36- with :
37- ndk-version : r27c
35+ # Must match ndkVersion / externalNativeBuild.cmake.version in
36+ # app/build.gradle.kts, otherwise AGP fails to resolve the NDK.
37+ - name : Install NDK and CMake
38+ run : echo y | sdkmanager " ndk;29.0.14206865" "cmake;3.22.1"
3839
3940 - name : Clone native dependencies
4041 run : |
4142 cd app/src/main/jni
4243 git clone --depth 1 https://github.com/ggml-org/llama.cpp.git llama_cpp
43- git clone --depth 1 https://github.com/nicbarker /quickjs.git quickjs
44+ git clone --depth 1 https://github.com/bellard /quickjs.git quickjs
4445
4546 - uses : gradle/actions/setup-gradle@v4
4647 - name : Build debug APK
Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ cd app/src/main/jni
136136# Clone llama.cpp
137137git clone --depth 1 https://github.com/ggml-org/llama.cpp.git llama_cpp
138138
139- # Clone QuickJS
140- git clone --depth 1 https://github.com/nicbarker/quickjs.git quickjs
141- # Or use bellard's: https://bellard.org/quickjs/
139+ # Clone QuickJS (official Bellard repo — the CMake build expects its
140+ # post-2024 layout: dtoa.c instead of libbf.c)
141+ git clone --depth 1 https://github.com/bellard/quickjs.git quickjs
142142```
143143
144144### Build
You can’t perform that action at this time.
0 commit comments