HandBrake Linux #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux Build | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build on Ubuntu | |
runs-on: ubuntu-22.04 | |
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 | |
env: | |
DESTDIR: /handbrake/install | |
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: /handbrake/install |