Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/build_meta_quest3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Build Meta Quest3

on:
pull_request:
branches:
- meta-quest3-dev

jobs:
buildForMetaQuest3:
name: Build for MetaQuest3
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
projectPath:
- "."
unityVersion:
- 2022.3.0f1 # TODO automatically get right version from ProjectSettings/ProjectVersion.txt
targetPlatform:
- Android
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3
with:
path: ${{ matrix.projectPath }}/Library
key:
Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{
hashFiles(matrix.projectPath) }}
restore-keys: |
Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-
Library-${{ matrix.projectPath }}-
Library-
- name: Install mp4 codecs
# This is needed cause some .mp4 files get downloaded as part of MetaQuest package tooltipps
run: sudo apt-get install ubuntu-restricted-extras
- uses: jlumbroso/free-disk-space@v1.2.0
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
targetPlatform: ${{ matrix.targetPlatform }}
customParameters: ""
androidExportType: "androidPackage"
buildName: "MetaQuest3Build"
- uses: actions/upload-artifact@v3
with:
name: MetaQuest3Build
path: build

# TODO you can add some release steps here or do it manually
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,8 @@ crashlytics-build.properties
.vsconfig

# Unity Editor Crash Reporter
mono_crash.*
mono_crash.*

# GameCI / Github Workflows
/[Aa]rtifacts/
/[Cc]odeCoverage/
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,23 @@ git checkout hololens2-dev
and the follow the [HoloLens2 instruction](./Docs/HoloLens2Deploy.md).


### Build Workflow
Currently supported plattforms:
- [x] MetaQuest3
- [ ] HoloLens2

**Users:** find the latest file under [Releases](https://github.com/intuitive-robots/IRXR-Unity/releases).
**Collaborators:** find your .apk file as an Artifact of a workflow under [Actions](https://github.com/intuitive-robots/IRXR-Unity/actions/).

#### MetaQuest3 run .apk
To execute an .apk file after you've downloaded it

1. connect your MetaQuest3 to your computer via USB
1. install [adb](https://developer.android.com/tools/adb)
1. run `adb install -r YOURFILE.apk`
1. execute programm on MetaQuest3


### Run your application

We use [SimPublisher](https://github.com/intuitive-robots/SimPublisher.git) to make the communication eaiser.
Expand Down