Skip to content

Commit 681fd2c

Browse files
CI: Add compilation pipeline
1 parent 187045e commit 681fd2c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build
2+
on: [push, pull_request, workflow_dispatch]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Install dependencies
8+
run: |
9+
sudo apt-get update
10+
sudo apt-get install ocaml ocamlbuild libnum-ocaml-dev autoconf automake indent libtool fig2dev
11+
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Bootstrap
16+
run: sh bootstrap.sh
17+
18+
- name: Build
19+
run: make
20+
21+
- name: Test
22+
run: make -C tests smallcheck

0 commit comments

Comments
 (0)