Fix github workflow #8
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: main | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: download mupdf | |
run: mkdir build && sh misc/getmupdf.sh build/mupdf | |
- name: Install prerquisites | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install libgl1-mesa-dev ccache ocaml libgumbo-dev libharfbuzz-dev | |
- name: build | |
if: matrix.os == 'ubuntu-latest' | |
run: bash ahbs |