Skip to content

Commit

Permalink
Initial CI setup
Browse files Browse the repository at this point in the history
This ports the Coq-based CI setup from `saw-script` over to `entree-specs`.

Fixes #8.
  • Loading branch information
RyanGlScott committed Oct 16, 2024
1 parent 2ec3cab commit 01b4d8d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
strategy:
fail-fast: false
matrix:
ocaml: ["4.14.x"]
coq: ["8.15.2"]
os: ["ubuntu-22.04"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Install OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml }}

- name: Add coq-released repo
shell: bash
run: opam repo add coq-released https://coq.inria.fr/opam/released

- name: Install Coq
shell: bash
run: opam install -y coq=${{ matrix.coq }}

- name: Build entree-specs
shell: bash
run: opam exec -- make -j

0 comments on commit 01b4d8d

Please sign in to comment.