Skip to content

Commit

Permalink
Update handbrake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ewt45 authored Oct 1, 2024
1 parent a703df0 commit 8b30b54
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/handbrake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,27 @@ jobs:
# 可以搜索到这个问题,貌似没解决 https://github.com/rust-lang/crates-build-env/issues/125 https://github.com/orgs/community/discussions/113480
env:
DESTDIR: $HOME/handbrake-build-install

steps:
- name: fix broken deps
run: |
sudo apt update
sudo apt install libunwind-dev
# steps:
# - name: Setup Environment
# run: |
# sudo apt-get update
# sudo apt-get install autoconf automake build-essential cmake git libass-dev libbz2-dev libfontconfig-dev libfreetype-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libnuma-dev libogg-dev libopus-dev libsamplerate0-dev libspeex-dev libtheora-dev libtool libtool-bin libturbojpeg0-dev libvorbis-dev libx264-dev libxml2-dev libvpx-dev m4 make meson nasm ninja-build patch pkg-config tar zlib1g-dev
# sudo apt-get install appstream desktop-file-utils gettext gstreamer1.0-libav gstreamer1.0-plugins-good libgstreamer-plugins-base1.0-dev libgtk-4-dev
# - name: Build HandBrake Linux
# run: |
# git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake
# ./configure --launch-jobs=0 --launch
# sudo make --directory=build install
- name: Setup Environment
run: |
sudo apt-get update
sudo apt-get install autoconf automake build-essential cmake git libass-dev libbz2-dev libfontconfig-dev libfreetype-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libnuma-dev libogg-dev libopus-dev libsamplerate0-dev libspeex-dev libtheora-dev libtool libtool-bin libturbojpeg0-dev libvorbis-dev libx264-dev libxml2-dev libvpx-dev m4 make meson nasm ninja-build patch pkg-config tar zlib1g-dev
sudo apt-get install appstream desktop-file-utils gettext gstreamer1.0-libav gstreamer1.0-plugins-good libgstreamer-plugins-base1.0-dev libgtk-4-dev
- name: Build HandBrake Linux
run: |
git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake
./configure --launch-jobs=0 --launch
sudo make --directory=build install
# - name: upload
# uses: actions/upload-artifact@v4
# with:
# name: handbrake
# path: $DESTDIR
- name: upload
uses: actions/upload-artifact@v4
with:
name: handbrake
path: $DESTDIR

0 comments on commit 8b30b54

Please sign in to comment.