Skip to content

Commit 7e08940

Browse files
committed
Add Q2+ build to CI (not pushed to Oculus yet)
1 parent 788f697 commit 7e08940

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,20 @@ jobs:
176176
fail-fast: false
177177
matrix:
178178
flavors: ${{ fromJson(needs.configuration.outputs.flavors) }}
179-
name: [Windows] # These will all be overwritten, but because we have the flavors matrix as well, we can't just add configurations via include; they'll overwrite each other. This way ensures that we get each one
179+
name: [Windows, Oculus Quest (2+)] # These will all be overwritten, but because we have the flavors matrix as well, we can't just add configurations via include; they'll overwrite each other. This way ensures that we get each one
180180
include:
181181
- name: Windows
182182
targetPlatform: StandaloneWindows64
183183
cache: Windows
184184

185+
- name: Oculus Quest (2+)
186+
targetPlatform: Android
187+
vrsdk: Oculus
188+
cache: Android_Vulkan
189+
extraoptions: -btb-il2cpp
190+
versionSuffix: 1
191+
extra_defines: OCULUS_SUPPORTED
192+
185193
steps:
186194
- name: Set masking
187195
run: echo "::add-mask::DoNotStealThis1"
@@ -288,7 +296,7 @@ jobs:
288296
elif [[ "${{ matrix.targetPlatform}}" == "StandaloneOSX" ]]; then
289297
echo "filename=$BASENAME.app" >> $GITHUB_ENV
290298
elif [[ "${{ matrix.targetPlatform}}" == "Android" ]]; then
291-
echo "filename=com.Icosa.$BASENAME.apk" >> $GITHUB_ENV
299+
echo "filename=foundation.Icosa.$BASENAME.apk" >> $GITHUB_ENV
292300
fi
293301
294302
- name: Enable Development Mode
@@ -463,15 +471,22 @@ jobs:
463471
with:
464472
name: Windows
465473
path: build_windows
474+
- name: Download Build Artifacts (Oculus Quest 2+)
475+
uses: actions/download-artifact@v4
476+
with:
477+
name: Oculus Quest (2+)
478+
path: build_oculus_quest
466479

467480
- name: Package Artifacts for release
468481
env:
469482
VERSION: ${{ needs.configuration.outputs.version }}
470483
run: |
471484
mkdir releases
472485
mv build_windows/StandaloneWindows64/ releases/OpenBlocks_Desktop_$VERSION/
486+
mv build_oculus_quest/*/foundation.Icosa.OpenBLocks*apk releases/OpenBlocks_Quest_$VERSION.apk
473487
cd releases
474488
zip -r OpenBlocks_Desktop_$VERSION.zip OpenBlocks_Desktop_$VERSION/
489+
rm -rf OpenBlocks_Desktop_$VERSION
475490
476491
- name: Publish
477492
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)