From 3740ac3a361ed0c382c528e375f2d11df92ee827 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Sun, 25 Jun 2023 10:22:11 +0100 Subject: [PATCH] Disable OpenXR examples in CI for now We don't currently build the OpenXR examples on Android because I haven't found a nice nice way to pull in libopenxr_loader binaries that we can link against. Normally I would use the binaries as part of the Oculus SDK TODO: maybe we can look at using the 'prefab' `.aar`s from Khronos here: https://search.maven.org/artifact/org.khronos.openxr/openxr_loader_for_android --- .github/workflows/ci.yml | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0156e7c..e19f6e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,19 +125,27 @@ jobs: ./gradlew build && find $GITHUB_WORKSPACE/shared-target -iname '*.so' -exec rm {} \; - - name: Build na-openxr-info example - working-directory: na-openxr-info - run: > - CARGO_TARGET_DIR=$GITHUB_WORKSPACE/shared-target cargo ndk ${{ matrix.cargo_ndk_args }} build --features=android && - ./gradlew build && - find $GITHUB_WORKSPACE/shared-target -iname '*.so' -exec rm {} \; - - - name: Build na-openxr-wgpu - working-directory: na-openxr-wgpu - run: > - CARGO_TARGET_DIR=$GITHUB_WORKSPACE/shared-target cargo ndk ${{ matrix.cargo_ndk_args }} build && - ./gradlew build && - find $GITHUB_WORKSPACE/shared-target -iname '*.so' -exec rm {} \; + # We don't currently build the OpenXR examples on Android because I + # haven't found a nice nice way to pull in libopenxr_loader binaries that + # we can link against. Normally I would use the binaries as part of the + # Oculus SDK + # + # TODO: maybe we can look at using the 'prefab' `.aar`s from Khronos here: + # https://search.maven.org/artifact/org.khronos.openxr/openxr_loader_for_android + # + #- name: Build na-openxr-info example + # working-directory: na-openxr-info + # run: > + # CARGO_TARGET_DIR=$GITHUB_WORKSPACE/shared-target cargo ndk ${{ matrix.cargo_ndk_args }} build --features=android && + # ./gradlew build && + # find $GITHUB_WORKSPACE/shared-target -iname '*.so' -exec rm {} \; + + #- name: Build na-openxr-wgpu + # working-directory: na-openxr-wgpu + # run: > + # CARGO_TARGET_DIR=$GITHUB_WORKSPACE/shared-target cargo ndk ${{ matrix.cargo_ndk_args }} build && + # ./gradlew build && + # find $GITHUB_WORKSPACE/shared-target -iname '*.so' -exec rm {} \; format: