Commit 0cda789 1 parent 4d09cc9 commit 0cda789 Copy full SHA for 0cda789
File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Llama Example app Android build check
2
+ on :
3
+ pull_request :
4
+ paths :
5
+ - .github/workflows/build-android-llama-example.yml
6
+ - android/**
7
+ - third-party/android/**
8
+ - examples/llama/package.json
9
+ - examples/llama/android/**
10
+ push :
11
+ branches :
12
+ - main
13
+ paths :
14
+ - .github/workflows/build-android-llama-example.yml
15
+ - android/**
16
+ - third-party/android/**
17
+ - examples/llama/package.json
18
+ - examples/llama/android/**
19
+ jobs :
20
+ build :
21
+ if : github.repository == 'software-mansion/react-native-executorch'
22
+ runs-on : ubuntu-latest
23
+ env :
24
+ WORKING_DIRECTORY : examples/llama
25
+ concurrency :
26
+ group : android-${{ github.ref }}
27
+ cancel-in-progress : true
28
+ steps :
29
+ - name : Check out Git repository
30
+ uses : actions/checkout@v4
31
+
32
+ - name : Setup Java 17
33
+ uses : actions/setup-java@v3
34
+ with :
35
+ distribution : ' zulu'
36
+ java-version : 17
37
+
38
+ - name : Install node dependencies
39
+ run : yarn install --immutable
40
+
41
+ - name : Build app
42
+ working-directory : ${{ env.WORKING_DIRECTORY }}/android
43
+ run : ./gradlew assembleDebug --build-cache -PreactNativeArchitectures=arm64-v8a
You can’t perform that action at this time.
0 commit comments