Skip to content

Commit b020558

Browse files
authored
fix PR autobuild for ubuntu-18.04, android with correct cmake version (#1225)
1 parent 15a9de3 commit b020558

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/pr_build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,16 @@ jobs:
188188
done
189189
}
190190
retry cmake --build . --config $BUILD_TYPE --target package $CMAKE_BUILD_EXTRA
191+
# As of 05/17/21 GitHub Virtual Environments changed their "Ubuntu 18.04.5 LTS" image to include two versions of CMake for Android
192+
# https://github.com/actions/virtual-environments/blob/ubuntu18/20210517.1/images/linux/Ubuntu1804-README.md
193+
# Removing 3.18.1 version of CMake as its not compatible with our Android build.
194+
# It will fall back to 3.10.2 which is already installed
195+
- name: Nuke CMake 3.18.1-g262b901
196+
if: matrix.build_type == 'android'
197+
shell: bash
198+
working-directory: ${{runner.workspace}}/vircadia
199+
run: |
200+
/usr/local/lib/android/sdk/tools/bin/sdkmanager --uninstall 'cmake;3.18.1'
191201
- name: Build for Android + Quest
192202
if: matrix.build_type == 'android'
193203
shell: bash

0 commit comments

Comments
 (0)