Skip to content

Commit

Permalink
Disable OpenXR examples in CI for now
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rib committed Jun 25, 2023
1 parent 95c47f2 commit 3740ac3
Showing 1 changed file with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3740ac3

Please sign in to comment.