Create build.yml #1
This file contains hidden or 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: 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 | |