Added pico to pipeline build
This commit is contained in:
@@ -52,7 +52,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
build-android:
|
build-android-quest:
|
||||||
name: Build the WiVRn client for Oculus Quest
|
name: Build the WiVRn client for Oculus Quest
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
@@ -111,3 +111,62 @@ jobs:
|
|||||||
draft: true
|
draft: true
|
||||||
files: |
|
files: |
|
||||||
apk/WiVRn-oculus-release.apk
|
apk/WiVRn-oculus-release.apk
|
||||||
|
build-android-pico:
|
||||||
|
name: Build the WiVRn client for Pico >5.4
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- 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 assemblePicoDebug assemblePicoDebugWithValidationLayer
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
|
run: |
|
||||||
|
chmod +x gradlew
|
||||||
|
./gradlew build
|
||||||
|
|
||||||
|
- 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-pico-release.apk
|
||||||
|
|||||||
Reference in New Issue
Block a user