blob: 2b340dfff1015760157d7ad1ad36d4e60758dad3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
name: Linux Build
on: [push, pull_request]
jobs:
handle_forks:
name: Forked Repo
runs-on: ubuntu-20.04
if: github.repository != 'HandBrake/HandBrake'
steps:
- name: Print Warning
run: |
echo "Builds are disabled for forked repositories."
build:
name: Build on Ubuntu
runs-on: ubuntu-latest
if: github.repository == 'HandBrake/HandBrake'
steps:
- uses: actions/checkout@master
- name: Setup Environment
run: |
sudo apt-get update
sudo apt-get install autoconf automake build-essential cmake git libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libnuma-dev
sudo apt-get install libogg-dev libopus-dev libsamplerate-dev libspeex-dev libtheora-dev libtool libtool-bin libvorbis-dev libx264-dev libxml2-dev libvpx-dev m4 make nasm ninja-build patch pkg-config python tar yasm zlib1g-dev
sudo apt-get install python3-pip
sudo apt-get install python3-setuptools
sudo pip3 install meson
sudo apt-get install gstreamer1.0-libav intltool libappindicator-dev libdbus-glib-1-dev libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgtk-3-dev libgudev-1.0-dev libnotify-dev
sudo apt-get install libva-dev libdrm-dev
- name: Build HandBrake Linux
run: |
./configure --launch-jobs=0 --disable-gtk-update-checks --enable-qsv --launch
|