Commit Graph

65 Commits

Author SHA1 Message Date
Ryan Scott
8847b3d5bb CI: Test GHC 9.4.8, 9.6.2, 9.8.2 2024-05-22 07:28:33 -04:00
Ryan Scott
1615d48799 CI: Upgrade to what4-solvers snapshot-20240212 2024-02-12 14:56:05 -05:00
Ryan Scott
55fb062a53 CI: Test GHC 9.6.2 and 9.4.7, drop GHC 8.10.7 2023-08-31 06:27:45 -04:00
Ryan Scott
a045188b18 README: Fix typo 2023-07-13 11:37:26 -04:00
Ryan Scott
71a8f86fb4 CI: Use GHC 9.2.8, 9.4.5 2023-07-12 07:51:28 -04:00
Ryan Scott
693f82f1b1 CI: Bump what4-solvers snapshot to 20230711
This includes the following changes:

* The bindist URLs now include the OS architecture, I have tweaked the parts of
  CI that downloads bindists accordingly.
* This snapshot includes `cvc5-1.0.5`, which has fixed a bug that was
  responsible for #1548. As such, this fixes #1548.
2023-07-11 12:53:15 -04:00
Ryan Scott
593f6b002c README: Acknowledge some additional Cryptol contributors
Mention Bretton Chen, Henry Blanchette, and Matthew Yacavone, all of whom have
made significant contributions. Also use Hazel Weakly's current name.
2023-07-06 08:29:38 -04:00
Ryan Scott
adb73d2a82 Update some copyright years to 2023 2023-07-06 08:25:54 -04:00
Ryan Scott
597207f706 README: Reference version 3 of Cryptol
Fixes #1542.
2023-07-06 08:24:50 -04:00
Ryan Scott
618562b20b CI: Bump what4-solvers snapshot version
The previous version (`snapshot-20220812`) was using CVC5 1.0.1, which is too
old to work properly with `what4`. I have bumped the version to
`snapshot-20221212`, which includes CVC5 1.0.2.
2023-03-06 10:45:24 -05:00
Ryan Scott
c810821d10 Add CVC5 support
This patch:

* Makes the necessary changes on the `cryptol` and `cryptol-remote-api` side
  needed add `cvc5`, `w4-cvc5`, and `sbv-cvc5` solvers. This requires SBV 9.1
  or later to include the changes from LeventErkok/sbv#630, which re-exports
  CVC5-related functionality from all of the places that Cryptol imports from.
* Adds a test case to ensure that basic CVC5 support works.
* Updates the CI and Dockerfile to ensure that CVC5 is included from the
  `what4-solvers` bindists.

Fixes #1503.
2023-03-06 10:45:19 -05:00
Ryan Scott
cda25763ff CI: Test GHC 9.4.4, drop 9.0.2 2023-02-13 07:49:35 -05:00
Ryan Scott
0d4b555cf0 CI: Upgrade from 9.2.2 to 9.2.4
This is needed to work around https://gitlab.haskell.org/ghc/ghc/-/issues/20592
on macOS.
2022-08-15 08:16:19 -04:00
Ryan Scott
287a7f0f71 CI: Use Ubuntu 22.04, drop 18.04
GitHub Actions has deprecated its Ubuntu 18.04 runners, and they will be
removed by December 1, 2022. Moreover, GitHub Actions now offers Ubuntu 22.04
runners.  It seems like a good time to upgrade our CI accordingly.

Somewhat annoyingly, the `haskell` Docker images that we use in our Dockerfiles
use such an old version of Debian that their version of `glibc` is incompatible
with any of the `what4-solvers` built for Ubuntu 20.04 or 22.04. As a result, I
switched them from the `haskell` Docker image to the `ubuntu` one. This
required some minor tweaks to how dependencies are installed, but nothing too
serious.
2022-08-15 08:16:19 -04:00
Ryan Scott
1c501b88f6
CI: Use macOS 12 (#1387)
GitHub is deprecating (and eventually removing) its macOS 10.15 runners.
See actions/virtual-environments#5583. Let's upgrade to a newer version in the
CI. This proves relatively straightforward—the only other change required is to
upgrade to a newer version of `what4-solvers`.
2022-07-21 14:31:54 -04:00
Ryan Scott
0bb42af79e CI: Include a single Ubuntu 18.04 job
This is done purely for the sake of increasing our coverage of Linux when
making releases. See #1140 for the motivation.

We won't run any of the tests et al. for this job.
2022-05-12 10:21:23 -04:00
Ryan Scott
22c61d6907 CI: Test GHC 9.2.2 2022-05-04 16:14:49 -05:00
Ryan Scott
2a4912e5aa CI: Use same what4-solvers snapshot everywhere 2022-04-26 15:19:11 -04:00
weaversa
fe0bd96ca7
Update README.md (#1333)
Updating LAC link.
2022-03-08 10:29:09 -05:00
Ryan Scott
31ca666b3a Regenerate cabal.GHC-*.config files 2022-01-13 12:16:10 -05:00
Ryan Scott
7bdb84beca CI: Drop GHC 8.6 2022-01-13 09:47:10 -05:00
Aaron Tomb
e8bbaad366 Update solver version references in README.md 2021-10-04 12:58:17 -07:00
Lisanna Dettwyler
dfae4580e3
Support TLS in cryptol-remote-api (#1203)
Add support for TLS connections in both the rpc server
and client. Allow the client to disable certificate validation
via the `verify` keyword argument, i.e.,
`cryptol.connect(verify=False)`. The docker container
for `cryptol-remote-api` also contains a self-signed
cert for testing purposes.

Co-authored-by: Andrew Kent <andrew@galois.com>
2021-06-25 14:26:09 -07:00
Ryan Scott
1681707bd0 Use correct link for GitHub Actions README badge 2021-04-21 11:57:44 -04:00
Aaron Tomb
9e518f1e55
Update acknowledgements in README (#1129) 2021-03-24 08:39:10 -07:00
Lisanna Dettwyler
f021990eba
Prep CI for upcoming release (#1123)
- Container images are now published to ghcr.io rather than docker hub (closes #1110):
  - https://github.com/orgs/GaloisInc/packages/container/package/cryptol
  - https://github.com/orgs/GaloisInc/packages/container/package/cryptol-remote-api
- Docker builds for all images are cached against ghcr.io (doesn't provide incremental builds, but it still helps a lot).
  - https://github.com/orgs/GaloisInc/packages/container/package/cache-cryptol
  - https://github.com/orgs/GaloisInc/packages/container/package/cache-cryptol-remote-api
- "Portable" variant of cryptol-remote-api is now built and tested to the same degree as the non-portable one
- Normalized CI workflows to [`.github/workflows/ci.yml`](https://github.com/GaloisInc/cryptol/blob/lisanna/docker-publishing/.github/workflows/ci.yml) (closes #1115)
- Pre-merge and release build configurations are now more or less the same, so release process remains validated (closes #1114, closes #1116)
- Matrix configs for each job are visible at high-level views of the workflow
- Always upload workflow artifacts, use sensible retention periods for publish vs. non-publish
- `cryptol-eval-server` included in cryptol-remote-api container image (closes #1112)
- Pathclearing for static linking (#1113)
2021-03-23 15:24:48 -07:00
Aaron Tomb
0541bcf559
Preparation for the 2.10 release (#972)
* Update CHANGES for 2.10

* Remove profiling flags from Cabal file

They result in `cabal check` warnings and probably don’t need to be
hard-coded.

* Remove commented-out Cryptol server references

The code no longer exists, so we’ll never uncomment these.

Equivalent functionality is now provided by `cryptol-remote-api`.

* Update references to version numbers in README. Closes #719.
2020-11-18 15:38:44 -08:00
Ben Selfridge
b46a2f61cb Adds a blurb about initializing git submodules to the README 2020-10-21 12:22:16 -07:00
Aaron Tomb
2f4684c8af
Build system and documentation cleanup (#816)
* Remove `Makefile`
* Remove Travis and AppVeyor configurations
* Improve portability of the `cry` script
* Fix Docker builds
* Update documentation to remove references to `make`
* Update copyright dates
* Fix omitted section of CONTRIBUTING.md
* Update Z3 installation instructions

Fixes #570, #603, #790, #807.
2020-07-14 10:58:38 -07:00
Jared Weakly
0076943a45 Reference Master in pipeline status badge 2020-06-17 12:56:21 -07:00
Jared Weakly
1c38465ca8
Implement GitHub actions (#722)
* Builds nightly binary tarballs on Linux, macOS, and Windows
* Runs tests on every PR and merge to master
* Includes GitHub Actions status in README instead of Travis
* Makes the GitRev recompile hack less fragile
* Makes the Makefile Cabal v3 compatible
* Builds the manual as part of the CI process
2020-05-14 10:50:22 -07:00
Aaron Tomb
6adec7f771
Update README with new NSA group name (#717)
Closes #679.
2020-05-05 11:12:04 -07:00
Aaron Tomb
70a4728e5c Add ONR acknowledgement to README 2018-01-22 10:54:27 -08:00
ddh
a4779e4531 updated mailing list in readme 2018-01-19 12:38:22 +00:00
Fabian Beuke
ab75f152d1 Update copyright notice year from 2016 to 2017 2017-09-28 16:18:00 +02:00
Aaron Tomb
901a1d16ad Remove references to cryptol-server from README 2017-07-24 16:22:00 -07:00
Aaron Tomb
10240a62d6 Add note about Z3 version to README 2017-07-21 08:42:38 -07:00
Aaron Tomb
da04f374f4 Add Travis badge to README 2017-07-21 08:34:30 -07:00
Aaron Tomb
254283f7cb Document configuration of support files
Now README.md describes how to tell Cryptol where to find the Prelude
and Z3 configuration files that it needs.
2017-03-21 09:14:09 -07:00
Adam C. Foltzer
875d78800f add note about Z3 on 64-bit Linux 2016-05-31 15:47:50 -07:00
Adam C. Foltzer
4d3fc9a413 Update copyright dates and add missing headers 2016-01-19 18:19:35 -08:00
Adam C. Foltzer
9c07fe1006 merge in the 2.2.6 changes, including z3 switch 2015-12-23 16:10:56 -08:00
Adam C. Foltzer
3ae0dda7ac switch to Z3 for typechecking and proving
Note: the hardcoding in this patch is only for the 2.2 hotfix branch; in
the 2.3 branch we will only have to change the default setting for the
typechecker.
2015-12-23 14:59:10 -08:00
Nicolas Braud-Santoni
3f8cde4eae README.md: Trivial fixes 2015-07-26 15:56:05 +02:00
Adam C. Foltzer
900e4acf8b clean up cryptol-server for merging 2015-07-21 11:52:17 -07:00
Adam C. Foltzer
9eaaa5b8de replace note about cvc4 on PATH 2015-04-10 11:23:00 -07:00
Adam C. Foltzer
2e44c44e2b note about CVC4 from Homebrew 2015-04-10 11:23:00 -07:00
Adam C. Foltzer
53c6283daf update readme with Homebrew info 2015-04-10 11:23:00 -07:00
Adam C. Foltzer
52bd3fe996 replace note about cvc4 on PATH 2015-04-10 10:59:47 -07:00
Adam C. Foltzer
60ec857969 note about CVC4 from Homebrew 2015-03-30 10:23:00 -07:00