Seems like we need libx11. #127
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: Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup OCaml | |
run: sudo apt-get -y install ocaml ocaml-dune libalsa-ocaml-dev liblo-ocaml-dev libgraphics-ocaml-dev libx11-dev | |
- name: Build | |
run: make | |
- name: Build doc | |
run: | | |
sudo apt-get -y install ocaml-odoc pandoc | |
cd doc | |
make | |
- name: Upload website artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: doc | |
deploy: | |
if: github.ref == 'refs/heads/main' | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy website | |
id: deployment | |
uses: actions/deploy-pages@v4 |