Skip to content

Seems like we need libx11. #127

Seems like we need libx11.

Seems like we need libx11. #127

Workflow file for this run

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