diff --git a/.github/workflows/check-wivrn.yaml b/.github/workflows/check-wivrn.yaml new file mode 100644 index 0000000..7b5327d --- /dev/null +++ b/.github/workflows/check-wivrn.yaml @@ -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/sccache-action@v0.0.3 + - name: Prepare Environment + run: | + rustup update stable + - name: Build + run: cargo build --verbose --no-default-features --features=wivrn + diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index 2d09891..ddf7a03 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -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