-
Notifications
You must be signed in to change notification settings - Fork 12
67 lines (56 loc) · 1.77 KB
/
linux.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Linux
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
env:
CC: gcc-13
CXX: g++-13
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Ubuntu packages
run: |
sudo apt update
sudo apt -y install libjansson-dev nasm ninja-build
- name: Install Python packages
run: |
python -m pip install -U pip
pip install -U meson
- name: Install zimg
run: |
git clone https://bitbucket.org/the-sekrit-twc/zimg.git --depth 1 --recurse-submodules --shallow-submodules
pushd zimg
./autogen.sh
./configure --prefix=/usr --disable-simd
make -j$(nproc)
sudo make install -j$(nproc)
popd
rm -rf zimg
- name: Install VapourSynth
run: |
git clone https://github.com/vapoursynth/vapoursynth.git --depth 1
pushd vapoursynth
./autogen.sh
./configure --prefix=/usr --disable-x86-asm --disable-vsscript --disable-vspipe --disable-python-module
make -j$(nproc)
sudo make install -j$(nproc)
popd
rm -rf vapoursynth
- name: Install FFmpeg
run: |
git clone https://git.ffmpeg.org/ffmpeg.git --depth 1
pushd ffmpeg
./configure --prefix=/usr --enable-gpl --enable-version3 --disable-programs --disable-doc --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter --disable-encoders --disable-muxers --disable-debug
make -j$(nproc)
sudo make install -j$(nproc)
popd
rm -rf ffmpeg
- name: Build
run: |
meson setup build
ninja -C build