File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
examples/llama.android/app/src/main/cpp Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -515,6 +515,27 @@ jobs:
515
515
- name : Build Xcode project
516
516
run : xcodebuild -project examples/llama.swiftui/llama.swiftui.xcodeproj -scheme llama.swiftui -sdk iphoneos CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= -destination 'generic/platform=iOS' build
517
517
518
+ android-build :
519
+ runs-on : ubuntu-latest
520
+
521
+ steps :
522
+ - name : Clone
523
+ uses : actions/checkout@v3
524
+
525
+ - name : Set up JDK
526
+ uses : actions/setup-java@v3
527
+ with :
528
+ java-version : 17
529
+ distribution : zulu
530
+
531
+ - name : Setup Android SDK
532
+ uses : android-actions/setup-android@v3
533
+
534
+ - name : Build
535
+ run : |
536
+ cd examples/llama.android
537
+ ./gradlew build --no-daemon
538
+
518
539
# freeBSD-latest:
519
540
# runs-on: macos-12
520
541
# steps:
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ include(FetchContent)
16
16
FetchContent_Declare (
17
17
llama
18
18
GIT_REPOSITORY https://github.com/ggerganov/llama.cpp
19
- GIT_TAG 1fc2f265ff9377a37fd2c61eae9cd813a3491bea # b1794
19
+ GIT_TAG master
20
20
)
21
21
22
22
# Also provides "common"
You can’t perform that action at this time.
0 commit comments