-
Notifications
You must be signed in to change notification settings - Fork 10
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 #24 from lefessan/z-2022-01-02-ton-update
update for ton
- Loading branch information
Showing
25 changed files
with
121 additions
and
139 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
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 |
---|---|---|
|
@@ -38,14 +38,16 @@ jobs: | |
id: cache-opam | ||
with: | ||
path: ~/.opam | ||
key: v2-${{ runner.os }}-ocaml-solidity-${{ matrix.ocaml-compiler }}-${{ hashFiles('*.opam') }} | ||
key: v2-${{ runner.os }}-ocaml-solidity-${{ matrix.ocaml-compiler }}-${{ hashFiles('opam/*.opam') }} | ||
# restore-keys: | | ||
# v2-${{ runner.os }}-opam-${{ matrix.ocaml-compiler }}- | ||
|
||
- name: Use OCaml ${{ matrix.ocaml-compiler }} | ||
uses: avsm/setup-ocaml@v2 | ||
with: | ||
ocaml-compiler: ${{ matrix.ocaml-compiler }} | ||
opam-pin: false | ||
opam-depext: false | ||
|
||
- name: Set git user | ||
run: | | ||
|
@@ -59,7 +61,7 @@ jobs: | |
- run: opam depext -y ez_hash solidity-common solidity-parser solidity-typechecker solidity-test solidity-alcotest | ||
# if: steps.cache-opam.outputs.cache-hit != 'true' | ||
|
||
- run: opam install -y ./*.opam --deps-only --with-test | ||
- run: opam install -y opam/*.opam --deps-only --with-test | ||
# if: steps.cache-opam.outputs.cache-hit != 'true' | ||
|
||
# - run: opam upgrade --fixup | ||
|
@@ -81,3 +83,22 @@ jobs: | |
run: make fmt | ||
continue-on-error: true | ||
if: matrix.ocaml-compiler == '4.10.0' && matrix.os == 'ubuntu-latest' | ||
|
||
- name: build-doc | ||
if: github.ref == 'refs/heads/master' && matrix.ocaml-compiler == '4.10.0' && matrix.os == 'ubuntu-latest' | ||
run: | | ||
sudo apt install -yqq python3-sphinx python3-sphinx-rtd-theme | ||
opam install -y dune odoc | ||
make doc | ||
touch _drom/docs/.nojekyll | ||
touch _drom/docs/sphinx/.nojekyll | ||
touch _drom/docs/doc/.nojekyll | ||
- name: deploy-doc | ||
uses: JamesIves/[email protected] | ||
if: github.ref == 'refs/heads/master' && matrix.ocaml-compiler == '4.10.0' && matrix.os == 'ubuntu-latest' | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: _drom/docs/ | ||
CLEAN: true |
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 |
---|---|---|
|
@@ -7,6 +7,6 @@ _build | |
/_drom | ||
/_opam | ||
/_build | ||
|
||
.drom.config | ||
|
||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
## v0.1.0 ( 2021-09-06 ) | ||
## v0.1.0 ( 2022-01-02 ) | ||
|
||
* Initial commit |
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
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 |
---|---|---|
|
@@ -2,11 +2,10 @@ | |
# Do not modify, or add to the `skip` field of `drom.toml`. | ||
opam-version: "2.0" | ||
name: "ez_hash" | ||
version: "0.3.6" | ||
version: "0.4.0" | ||
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" | ||
synopsis: "Hash functions: sha3, sha256, blake2b" | ||
description: """ | ||
|
||
Hash functions: sha3, sha256, blake2b | ||
""" | ||
authors: ["Fabrice Le Fessant <[email protected]>"] | ||
|
@@ -40,7 +39,7 @@ install: [ | |
] | ||
depends: [ | ||
"ocaml" {>= "4.08.0"} | ||
"dune" {>= "2.6.0"} | ||
"dune" {>= "2.7.0"} | ||
"blake2" {} | ||
"ppx_inline_test" {with-test} | ||
"ppx_expect" {with-test} | ||
|
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
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
Oops, something went wrong.