feat: openxr standard loader
This commit is contained in:
+63
-63
@@ -52,69 +52,6 @@ jobs:
|
||||
- name: Build
|
||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||
|
||||
build-android-quest:
|
||||
name: Build the WiVRn client for Oculus Quest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
lfs: true
|
||||
- name: Checkout LFS objects
|
||||
run: git lfs checkout
|
||||
|
||||
- name: set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Install dependencies
|
||||
run: >
|
||||
sudo apt-get update && sudo apt-get install glslang-tools
|
||||
|
||||
- name: Secrets
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
env:
|
||||
APK_SIGNINGKEYPASSWORD: ${{ secrets.APK_SIGNINGKEYPASSWORD }}
|
||||
APK_KEYSTORE_BASE64: ${{ secrets.APK_KEYSTORE_BASE64 }}
|
||||
run: |
|
||||
echo signingKeyPassword="$APK_SIGNINGKEYPASSWORD" > gradle.properties
|
||||
echo "$APK_KEYSTORE_BASE64" | base64 --decode --ignore-garbage > ks.keystore
|
||||
|
||||
- name: Build (debug only)
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew assembleOculusDebug assembleOculusDebugWithValidationLayer
|
||||
|
||||
- name: Build
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew assembleOculus
|
||||
|
||||
- name: Prepare before archiving artifacts
|
||||
run: |
|
||||
mkdir apk
|
||||
mv $(find build/outputs/apk/ -name "*.apk") apk/
|
||||
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: APK
|
||||
path: apk/*.apk
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
tag_name: ${{ inputs.ref }}
|
||||
generate_release_notes: true
|
||||
draft: true
|
||||
files: |
|
||||
apk/WiVRn-oculus-release.apk
|
||||
build-android-pico:
|
||||
name: Build the WiVRn client for Pico >5.4
|
||||
runs-on: ubuntu-22.04
|
||||
@@ -178,3 +115,66 @@ jobs:
|
||||
draft: true
|
||||
files: |
|
||||
apk/WiVRn-pico-release.apk
|
||||
build-android-standard:
|
||||
name: Build the WiVRn client for the standard OpenXR loader
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
lfs: true
|
||||
- name: Checkout LFS objects
|
||||
run: git lfs checkout
|
||||
|
||||
- name: set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Install dependencies
|
||||
run: >
|
||||
sudo apt-get update && sudo apt-get install glslang-tools
|
||||
|
||||
- name: Secrets
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
env:
|
||||
APK_SIGNINGKEYPASSWORD: ${{ secrets.APK_SIGNINGKEYPASSWORD }}
|
||||
APK_KEYSTORE_BASE64: ${{ secrets.APK_KEYSTORE_BASE64 }}
|
||||
run: |
|
||||
echo signingKeyPassword="$APK_SIGNINGKEYPASSWORD" > gradle.properties
|
||||
echo "$APK_KEYSTORE_BASE64" | base64 --decode --ignore-garbage > ks.keystore
|
||||
|
||||
- name: Build (debug only)
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew assembleStandardDebug assembleStandardDebugWithValidationLayer
|
||||
|
||||
- name: Build
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
./gradlew assembleStandard
|
||||
|
||||
- name: Prepare before archiving artifacts
|
||||
run: |
|
||||
mkdir apk
|
||||
mv $(find build/outputs/apk/ -name "*.apk") apk/
|
||||
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: APK
|
||||
path: apk/*.apk
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
tag_name: ${{ inputs.ref }}
|
||||
generate_release_notes: true
|
||||
draft: true
|
||||
files: |
|
||||
apk/WiVRn-release.apk
|
||||
|
||||
Reference in New Issue
Block a user