Skip to content
Merged
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
33 changes: 33 additions & 0 deletions .github/workflows/xr-fundamentals-part1-build-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Workflow name
name: Build XR Fundamentals Codelab - Part 1

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Make gradlew executable
run: chmod +x ./gradlew
working-directory: ./xr-codelabs/xr-fundamentals/part1

- name: Build app
working-directory: ./xr-codelabs/xr-fundamentals/part1
run: ./gradlew :app:assembleDebug
33 changes: 33 additions & 0 deletions .github/workflows/xr-fundamentals-part2-build-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Workflow name
name: Build XR Fundamentals Codelab - Part 2

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Make gradlew executable
run: chmod +x ./gradlew
working-directory: ./xr-codelabs/xr-fundamentals/part2

- name: Build app
working-directory: ./xr-codelabs/xr-fundamentals/part2
run: ./gradlew :app:assembleDebug
33 changes: 33 additions & 0 deletions .github/workflows/xr-fundamentals-start-build-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Workflow name
name: Build XR Fundamentals Codelab - Start

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Make gradlew executable
run: chmod +x ./gradlew
working-directory: ./xr-codelabs/xr-fundamentals/start

- name: Build app
working-directory: ./xr-codelabs/xr-fundamentals/start
run: ./gradlew :app:assembleDebug