feat: add hwcodec

This commit is contained in:
Kingtous 2022-10-21 08:41:57 +08:00
parent 1e86f96827
commit 3818a0ddd0

View File

@ -66,7 +66,7 @@ jobs:
shell: bash
- name: Build rustdesk
run: python3 .\build.py --portable
run: python3 .\build.py --portable --hwcodec
- name: Publish Release
uses: softprops/action-gh-release@v1
@ -98,7 +98,7 @@ jobs:
- name: Install prerequisites
run: |
case ${{ matrix.job.target }} in
x86_64-unknown-linux-gnu) sudo apt-get -y update ; sudo apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev cmake libclang-dev ninja-build libayatana-appindicator3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev;;
x86_64-unknown-linux-gnu) sudo apt-get -y update ; sudo apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev cmake libclang-dev ninja-build libayatana-appindicator3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libvdpau-dev libva-dev;;
# arm-unknown-linux-*) sudo apt-get -y update ; sudo apt-get -y install gcc-arm-linux-gnueabihf ;;
# aarch64-unknown-linux-gnu) sudo apt-get -y update ; sudo apt-get -y install gcc-aarch64-linux-gnu ;;
esac
@ -155,7 +155,7 @@ jobs:
rustc -V
- name: Build rustdesk
run: ./build.py --flutter
run: ./build.py --flutter --hwcodec
- name: Publish Release
uses: softprops/action-gh-release@v1