Skip to content

Commit

Permalink
Merge branch 'alvr-org:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Meister1593 authored Jul 20, 2023
2 parents 1dfb433 + f0b7564 commit a44ef3e
Show file tree
Hide file tree
Showing 36 changed files with 1,742 additions and 1,209 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ jobs:
RUST_BACKTRACE: 1
run: |
sudo apt-get update
sudo apt-get install libfuse2 build-essential pkg-config nasm libva-dev libdrm-dev libvulkan-dev libx264-dev libx265-dev cmake libasound2-dev libjack-jackd2-dev libxrandr-dev libunwind-dev libffmpeg-nvenc-dev nvidia-cuda-toolkit libgtk-3-dev
sudo apt-get install libfuse2 build-essential pkg-config nasm libva-dev libdrm-dev libvulkan-dev libx264-dev libx265-dev cmake libasound2-dev libjack-jackd2-dev libxrandr-dev libunwind-dev libffmpeg-nvenc-dev nvidia-cuda-toolkit libgtk-3-dev flatpak flatpak-builder
cp alvr/xtask/deb/cuda.pc /usr/share/pkgconfig
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
cargo xtask prepare-deps --platform linux
- name: Build and package ALVR (.tar.gz)
Expand Down Expand Up @@ -217,6 +218,22 @@ jobs:
asset_name: ALVR-x86_64.AppImage.zsync
asset_content_type: application/octet-stream

- name: Build and package ALVR flatpak (.flatpak)
id: build_flatpak
run: |
sudo flatpak-builder --repo=.flatpak-repo --install-deps-from=flathub --force-clean --default-branch=stable --arch=x86_64 .flatpak-build-dir alvr/xtask/flatpak/com.valvesoftware.Steam.Utility.alvr.json
flatpak build-bundle .flatpak-repo ./build/com.valvesoftware.Steam.Utility.alvr.flatpak com.valvesoftware.Steam.Utility.alvr stable --runtime
- name: Upload flatpak streamer for Linux
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.prepare_release.outputs.upload_url }}
asset_path: ./build/com.valvesoftware.Steam.Utility.alvr.flatpak
asset_name: com.valvesoftware.Steam.Utility.alvr.flatpak
asset_content_type: application/octet-stream

build_linux_launcher:
runs-on: ubuntu-latest
needs: [prepare_release]
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ jobs:
components: clippy
- uses: Swatinem/rust-cache@v1

- uses: crazy-max/ghaction-chocolatey@v1
with:
args: install vulkan-sdk

- uses: ErichDonGubler/clippy-check@fix-windows-lf-breaking-reports
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a44ef3e

Please sign in to comment.