Skip to content

Commit

Permalink
Use ocaml/setup-ocaml@v2 + alias latex="pdflatex"
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Apr 26, 2024
1 parent e2dc712 commit 7061955
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
with:
ref: main
submodules: recursive
- name: Install Homebrew
run: |
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "$(brew --prefix)/bin" >> $GITHUB_PATH
- name: Setup TeX Live
uses: teatimeguest/setup-texlive-action@v3
# with:
Expand All @@ -48,13 +43,18 @@ jobs:
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install forester and build
- name: Set-up OCaml 5.1
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
- name: Install forester
run: |
shopt -s expand_aliases
alias latex="pdflatex"
sudo apt-get install libev-dev dvisvgm
brew install opam bubblewrap
opam init --auto-setup --yes
opam update --yes
opam install forester --yes
- name: Build with forester
run: |
eval $(opam env)
forester --version
bash ./build.sh
Expand Down

0 comments on commit 7061955

Please sign in to comment.