mirror of
https://github.com/galister/oscavmgr.git
synced 2026-11-20 06:41:14 -08:00
add actions for wivrn build
This commit is contained in:
1 parent
1aaac2e9b6
commit
ee00a8a2e2
2 files changed
+41
No files matched your search
@@ -0,0 +1,26 @@
|
||||
name: Check ALVR
|
||||
|
||||
on:
|
||||
push:
|
||||
#branches: [ "main" ]
|
||||
pull_request:
|
||||
#branches: [ "main" ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
RUSTC_WRAPPER: "sccache"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup sccache
|
||||
uses: mozilla-actions/[email protected]
|
||||
- name: Prepare Environment
|
||||
run: |
|
||||
rustup update stable
|
||||
- name: Build
|
||||
run: cargo build --verbose --no-default-features --features=wivrn
|
||||
|
||||
@@ -41,6 +41,21 @@ jobs:
|
||||
asset_name: oscavmgr-alvr
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Cargo Build WiVRn
|
||||
run: |
|
||||
cargo build --no-default-features --features=wivrn --release
|
||||
chmod +x target/release/oscavmgr
|
||||
|
||||
- name: Upload WiVRn
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_KEY }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./target/release/oscavmgr
|
||||
asset_name: oscavmgr-wivrn
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Cargo Build Babble
|
||||
run: |
|
||||
cargo build --no-default-features --features=babble --release
|
||||
|
||||
Reference in new issue
Block a user