Skip to content

Commit

Permalink
linux.yml: Build zimg from bitbucket
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyWu committed Feb 21, 2024
1 parent 968f019 commit 1abf2a5
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,32 @@ jobs:
- name: Install Ubuntu packages
run: |
sudo apt update
sudo apt -y install libjansson-dev libzimg-dev nasm ninja-build
sudo apt -y install libjansson-dev nasm ninja-build
- name: Install Python packages
run: |
python -m pip install -U pip
pip install -U cython meson setuptools wheel
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
./configure --prefix=/usr --disable-x86-asm --disable-vsscript --disable-vspipe --disable-python-module
make -j$(nproc)
sudo make install -j$(nproc)
pip install .
popd
rm -rf vapoursynth
Expand Down

0 comments on commit 1abf2a5

Please sign in to comment.