File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : android-sdk
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ android-sdk-test :
8+ runs-on : ubuntu-latest
9+ env :
10+ NDK_VERSION : ' 28.0.13004108'
11+ steps :
12+ - uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
13+ with :
14+ repository : ' DataDog/dd-sdk-android'
15+
16+ - name : Setup Java
17+ uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
18+ with :
19+ distribution : ' temurin'
20+ java-version : 17
21+
22+ # Ubuntu latest image doesn't have the exact version of the NDK that we need.
23+ # So we install it manually and cache.
24+ # https://github.com/actions/runner-images/blob/84b177af1632c67d56338e7c706fbee966b6e24e/images/ubuntu/Ubuntu2404-Readme.md?plain=1#L239
25+ - name : Cache NDK
26+ id : cache-ndk
27+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
28+ with :
29+ path : /usr/local/lib/android/sdk/ndk/${{ env.NDK_VERSION }}
30+ key : android-ndk-${{ env.NDK_VERSION }}
31+
32+ - name : Setup Android NDK
33+ run : ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager "ndk;${{ env.NDK_VERSION }}"
34+
35+ - name : Clone RUM schema
36+ run : ./gradlew cloneAllRumSchemas
37+
38+ - name : Generate JSON models
39+ run : ./gradlew generateAllJsonModels
You can’t perform that action at this time.
0 commit comments