Merge pull request #16436 from hrydgard/basic-vr-ci

Add basic CI support for build-testing the Android-based VR build.
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2022-11-25 18:29:21 +01:00
commit b7a594ed94
2 files changed
+24

No files matched your search

+12
View File
@@ -151,6 +151,18 @@ jobs:
cxx: clang++
args: cd android && ./ab.sh -j2 APP_ABI=x86_64 UNITTEST=1 HEADLESS=1
id: android-x86_64
- os: ubuntu-latest
extra: android
cc: clang
cxx: clang++
args: cd android && ./ab.sh -j2 APP_ABI=arm64-v8a OPENXR=1 OPENXR_PLATFORM_QUEST=1
id: android-vr-quest
- os: ubuntu-latest
extra: android
cc: clang
cxx: clang++
args: cd android && ./ab.sh -j2 APP_ABI=arm64-v8a OPENXR=1 OPENXR_PLATFORM_PICO=1
id: android-vr-pico
- os: ubuntu-latest
extra: android
cc: clang
+12
View File
@@ -739,6 +739,18 @@ ifeq ($(HEADLESS),1)
include $(BUILD_EXECUTABLE)
endif
ifeq ($(OPENXR),1)
LOCAL_CFLAGS += -DOPENXR
endif
ifeq ($(OPENXR_PLATFORM_QUEST),1)
LOCAL_CFLAGS += -DOPENXR_PLATFORM_QUEST
endif
ifeq ($(OPENXR_PLATFORM_PICO),1)
LOCAL_CFLAGS += -DOPENXR_PLATFORM_PICO
endif
ifeq ($(UNITTEST),1)
include $(CLEAR_VARS)
include $(LOCAL_PATH)/Locals.mk