Skip to content

Surface supported interaction profiles from OpenXR runtime #92

Surface supported interaction profiles from OpenXR runtime

Surface supported interaction profiles from OpenXR runtime #92

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
cargo build --features=ipc,glwindow,headless
cargo build --features=glwindow,headless,profile
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
cargo build --features=ipc,glwindow,headless
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
cargo build --features=ipc,glwindow,headless
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()"