forked from sigurdschneider/smpl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from uds-psl/ci
Added ci
- Loading branch information
Showing
4 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Test compilation | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Try to restore opam cache | ||
id: opam-cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: "~/.opam" | ||
key: opam-${{github.base_ref}}-${{github.ref}} | ||
restore-keys: | | ||
opam--refs/heads/${{github.base_ref}} | ||
- name: Install OCaml | ||
uses: avsm/setup-ocaml@v1 | ||
with: | ||
ocaml-version: 4.07.1 | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- run: opam repo add coq-released https://coq.inria.fr/opam/released | ||
- run: opam install . --deps-only --with-doc --with-test | ||
|
||
- run: opam exec -- make -j 2 all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
opam-version: "2.0" | ||
version: "dev" | ||
maintainer: "Yannick Forster <[email protected]>" | ||
authors: ["Sigurd Schneider <[email protected]>" | ||
"Yannick Forster <[email protected]>" | ||
"Fabian Kunze <[email protected]>"] | ||
homepage: "https://github.com/uds-psl/smpl" | ||
bug-reports: "https://github.com/uds-psl/smpl/issues" | ||
license: "MIT" | ||
dev-repo: "git+https://github.com/uds-psl/smpl" | ||
build: [make "-j%{jobs}%"] | ||
install: [make "install"] | ||
depends: [ | ||
"ocaml" | ||
"coq" { >= "8.12" & < "8.13~" } | ||
] | ||
synopsis: "Smpl: An Extensible Tactic for Coq" | ||
description: """ | ||
Smpl is useful for proof automation in Coq. Smpl provides named lists | ||
of tactics to which tactics can be added with Coq commands. A special | ||
tactic called 'smpl foo' executes the tactics in the lists named foo | ||
in order, until one of them succeeds. Smpl works across modules by | ||
merging tactics from all imports according to a priority number that | ||
can be provided upon addition. Smpl thus allows to modify the behavior | ||
of a tactic after it is defined in a convenient and modular way. | ||
""" |