match SDK and cmake versions with github images
This commit is contained in:
@@ -61,8 +61,6 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
sudo rm /usr/local/bin/cmake
|
||||
"${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager" --install "cmake;3.30.3"
|
||||
chmod +x gradlew
|
||||
./gradlew -Psuffix=".github.nightly" -Pwivrn_css=images/wivrn-nightly.css -Pwivrn_app_name="WiVRn Nightly" -Pwivrn_compress_glb=ON assemble${{ matrix.hmd }}${{ matrix.buildtype }}
|
||||
|
||||
|
||||
@@ -352,9 +352,6 @@ jobs:
|
||||
fi
|
||||
fi
|
||||
|
||||
sudo rm /usr/local/bin/cmake
|
||||
"${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager" --install "cmake;3.30.3"
|
||||
|
||||
echo Setting version $VERSION and version code $VERSION_CODE in manifest
|
||||
echo Using stylesheet $CSS and name $APPNAME
|
||||
|
||||
|
||||
+2
-2
@@ -107,7 +107,7 @@ android {
|
||||
// for Vulkan, need at least 24
|
||||
// for AImage_getHardwareBuffer, API 26
|
||||
minSdkVersion 29
|
||||
compileSdkVersion 32
|
||||
compileSdkVersion 34
|
||||
targetSdkVersion 32 // for Oculus Store
|
||||
|
||||
versionName = project.hasProperty('wivrn_version') ? wivrn_version : "1.0"
|
||||
@@ -229,7 +229,7 @@ android {
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
version = '3.30.3'
|
||||
version = '3.31.5'
|
||||
path 'CMakeLists.txt'
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ sdkmanager --sdk_root="${HOME}/Android" --licenses
|
||||
|
||||
Install the correct cmake version with
|
||||
```bash
|
||||
sdkmanager --install "cmake;3.30.3"
|
||||
sdkmanager --install "cmake;3.31.5"
|
||||
```
|
||||
|
||||
#### Apk signing
|
||||
|
||||
Reference in New Issue
Block a user