Also unify variable format index for audio #193
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 | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
env: | |
CC: gcc-14 | |
CXX: g++-14 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install Ubuntu packages | |
run: | | |
sudo apt update | |
sudo apt -y install libxxhash-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 |