Skip to content

Support OpenXR runtimes that do not support fovMutable #78

Support OpenXR runtimes that do not support fovMutable

Support OpenXR runtimes that do not support fovMutable #78

Workflow file for this run

name: Rust
on:
push:
branches: [main]
pull_request:
merge_group:
types: [checks_requested]
env:
SHELL: /bin/bash
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: fmt check
run: cargo fmt --all -- --check
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: build
run: |
cd webxr
cargo build --features=glwindow,headless,googlevr
cargo build --features=ipc,glwindow,headless,googlevr
cargo build --features=glwindow,headless,profile
rustup target add arm-linux-androideabi
cargo build --target arm-linux-androideabi --features=ipc,googlevr
mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: build
run: |
cd webxr
cargo build --features=glwindow,headless,googlevr
cargo build --features=ipc,glwindow,headless,googlevr
cargo build --features=glwindow,headless,profile
win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: build
run: |
cd webxr
cargo build --features=glwindow,headless,googlevr
cargo build --features=ipc,glwindow,headless,googlevr
cargo build --features=glwindow,headless,profile
rustup target add aarch64-pc-windows-msvc
cargo build --target=aarch64-pc-windows-msvc --features ipc,openxr-api
build_result:
name: Result
runs-on: ubuntu-latest
needs: ["mac", "linux", "win", "fmt"]
steps:
- name: Mark the job as successful
run: exit 0
if: success()
- name: Mark the job as unsuccessful
run: exit 1
if: "!success()"