Skip to content

Commit 492d612

Browse files
authored
Merge pull request #3 from uds-psl/ci
Added ci
2 parents bdddabe + 696d2e3 commit 492d612

File tree

4 files changed

+66
-3
lines changed

4 files changed

+66
-3
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test compilation
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
10+
- name: Try to restore opam cache
11+
id: opam-cache
12+
uses: actions/cache@v2
13+
with:
14+
path: "~/.opam"
15+
key: opam-${{github.base_ref}}-${{github.ref}}
16+
restore-keys: |
17+
opam--refs/heads/${{github.base_ref}}
18+
19+
- name: Install OCaml
20+
uses: avsm/setup-ocaml@v1
21+
with:
22+
ocaml-version: 4.07.1
23+
24+
- name: Checkout code
25+
uses: actions/checkout@v2
26+
with:
27+
fetch-depth: 1
28+
29+
- run: opam repo add coq-released https://coq.inria.fr/opam/released
30+
- run: opam install . --deps-only --with-doc --with-test
31+
32+
- run: opam exec -- make -j 2 all

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Makefile.coq
22
Makefile.coq.conf
33
*.vo
4+
*.vok
5+
*.vos
46
*.glob
57
*~
68
*.v.d
@@ -22,6 +24,8 @@ Makefile.coq.conf
2224
.merlin
2325
*.cmt
2426
*.cmti
27+
2528
src/smpl.ml
26-
*.vok
27-
*.vos
29+
.merlin
30+
Makefile.coq
31+
Makefile.coq.conf

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Coq Plugin smpl
2+
![Test compilation](https://github.com/uds-psl/smpl/workflows/Test%20compilation/badge.svg)
23

34
Smpl is useful for proof automation in Coq. Smpl provides named lists
45
of tactics to which tactics can be added with Coq commands. A special
@@ -26,7 +27,7 @@ The plugin is available for various versions of Coq in the different branches of
2627
## Installation
2728

2829
We provide an opam repository from which smpl can be installed.
29-
To install from the opam repository for Coq 8.10.2 use the following
30+
To install from the opam repository for Coq 8.10.2 and onwards use the following
3031
commands:
3132

3233
opam repo add psl-opam-repository https://github.com/uds-psl/psl-opam-repository.git

opam

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
opam-version: "2.0"
2+
version: "dev"
3+
maintainer: "Yannick Forster <[email protected]>"
4+
authors: ["Sigurd Schneider <[email protected]>"
5+
"Yannick Forster <[email protected]>"
6+
"Fabian Kunze <[email protected]>"]
7+
homepage: "https://github.com/uds-psl/smpl"
8+
bug-reports: "https://github.com/uds-psl/smpl/issues"
9+
license: "MIT"
10+
dev-repo: "git+https://github.com/uds-psl/smpl"
11+
build: [make "-j%{jobs}%"]
12+
install: [make "install"]
13+
depends: [
14+
"ocaml"
15+
"coq" { >= "8.12" & < "8.13~" }
16+
]
17+
synopsis: "Smpl: An Extensible Tactic for Coq"
18+
description: """
19+
Smpl is useful for proof automation in Coq. Smpl provides named lists
20+
of tactics to which tactics can be added with Coq commands. A special
21+
tactic called 'smpl foo' executes the tactics in the lists named foo
22+
in order, until one of them succeeds. Smpl works across modules by
23+
merging tactics from all imports according to a priority number that
24+
can be provided upon addition. Smpl thus allows to modify the behavior
25+
of a tactic after it is defined in a convenient and modular way.
26+
"""

0 commit comments

Comments
 (0)