-
-
Notifications
You must be signed in to change notification settings - Fork 106
43 lines (39 loc) · 1.19 KB
/
ci-internal.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI Internal
on:
workflow_dispatch: # Allow manual triggers
pull_request:
push:
jobs:
check-secret:
name: secret-validator
runs-on: ubuntu-latest
outputs:
is-secret-set: ${{ steps.check-secret-set.outputs.is-secret-set }}
steps:
- name: check if the necessary secrets are set in github secrets
id: check-secret-set
env:
THIRD_PARTY_PAT: ${{ secrets.THIRD_PARTY_PAT }}
run: "echo \"is-secret-set=${{ env.THIRD_PARTY_PAT != '' }}\" >> $GITHUB_OUTPUT\n"
build-internal:
name: Internal Build
needs: [check-secret]
if: needs.check-secret.outputs.is-secret-set == 'true'
uses: ./.github/workflows/build.yml
with:
flavour: ${{ matrix.flavour }}
internal: true
strategy:
fail-fast: false
matrix:
flavour: [
assembleOculusvrArm64GeckoMetaStore,
assembleHvrArm64GeckoGeneric,
assembleHvrArm64GeckoMainlandChina,
assemblePicoxrArm64GeckoGeneric,
assembleLynxArm64GeckoGeneric,
assembleSpacesArm64GeckoGeneric,
assembleAospX64GeckoGeneric,
assembleVisionGlassArm64GeckoGeneric,
]
secrets: inherit