Skip to content

Commit 17f14a4

Browse files
committed
try adding docs github actions workflow
1 parent 4f64168 commit 17f14a4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/docs.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
steps:
9+
- name: checkout
10+
uses: actions/checkout@v2
11+
12+
- name: set up ocaml
13+
uses: avsm/setup-ocaml@v1
14+
with:
15+
ocaml-version: 4.10.0
16+
17+
- name: install dependencies
18+
run: opam install ounit lablgtk cairo2 cairo2-gtk
19+
20+
- name: make docs
21+
run: make docs

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22
default:
33
cd core && make
44
cd app && make fresh
5+
6+
docs: default
7+
cd core && make docs
8+
9+
clean:
10+
cd core && make clean
11+
cd app && make clean

0 commit comments

Comments
 (0)