Skip to content

Create build.yml

Create build.yml #1

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: |
echo "deb-src https://deb.debian.org/debian stable main" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt build-dep zathura mupdf
apt install wget libmupdf-dev zathura-dev neofetch
wget https://github.com/pwmt/zathura-pdf-mupdf/archive/refs/tags/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