Skip to content

Update build.yml

Update build.yml #3

Workflow file for this run

name: Install
on: [push]
jobs:
debian:
runs-on: ubuntu-latest
container: debian:stable
steps:
- uses: actions/checkout@v2
- name: Setup
run: |
apt-get update && apt-get install -y ca-certificates
echo "deb-src https://deb.debian.org/debian stable main" | tee -a /etc/apt/sources.list
apt update
apt build-dep zathura mupdf
apt install wget libmupdf-dev zathura-dev neofetch -y
wget https://github.com/pwmt/zathura-pdf-mupdf/archive/refs/tags/0.4.1.tar.gz
tar -xzf 0.4.1.tar.gz
cd zathura-pdf-mupdf-0.4.1/
apt-get source mupdf
sed -i -e '/^[[:space:]]*tesseract/s/^[[:space:]]*\(tesseract\)/# \1/' -e '/^[[:space:]]*leptonica/s/^[[:space:]]*\(leptonica\)/# \1/' meson.build
cd build
ninja