File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -111,10 +111,28 @@ jobs:
111111 uses : actions/checkout@v4
112112 with :
113113 fetch-depth : 1
114+
115+ - name : Setup Java 11
116+ uses : actions/setup-java@v4
117+ with :
118+ distribution : temurin
119+ java-version : ' 11'
120+
121+ - name : Check java version
122+ run : java -version
123+
124+ - name : Install CMake
125+ run : |
126+ apt-get update
127+ apt-get install -y cmake
128+ cmake --version
129+
114130 - name : Validate the Gradle wrapper
115131 uses : gradle/actions/wrapper-validation@v3
132+
116133 - name : Build
117134 run : |
135+ export ANDROID_NDK="$ANDROID_SDK_ROOT/ndk/$ANDROID_NDK_VERSION"
118136 ./gradlew -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \
119137 :jme3-android-native:assemble
120138
You can’t perform that action at this time.
0 commit comments