-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/remove-polymorphism
- Loading branch information
Showing
8 changed files
with
48 additions
and
77 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 |
---|---|---|
@@ -1,21 +1,18 @@ | ||
name: ci | ||
|
||
on: | ||
[pull_request] | ||
pull_request: | ||
|
||
jobs: | ||
docker-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
- | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: docker/setup-buildx-action@v3 | ||
id: docker-build | ||
with: | ||
install: true | ||
- | ||
name: Build | ||
- name: Build | ||
run: | | ||
docker build . # will run buildx |
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,39 +1,37 @@ | ||
name: Deploy Docs to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
release: | ||
name: GitHub Pages | ||
runs-on: ubuntu-latest | ||
release: | ||
name: GitHub Pages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
- name: Use OCaml "4.14.0" | ||
uses: avsm/setup-ocaml@v1 | ||
with: | ||
ocaml-version: 4.14.0 | ||
|
||
- name: Use OCaml "4.14.0" | ||
uses: avsm/setup-ocaml@v1 | ||
with: | ||
ocaml-version: 4.14.0 | ||
|
||
- name: Build Documentation | ||
run: | | ||
eval $(opam env) | ||
opam pin add . -y | ||
opam install odoc | ||
make website | ||
cd website/website | ||
yarn | ||
yarn build | ||
pwd | ||
ls | ||
ls build | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./website/website/build/snarky | ||
- name: Build Documentation | ||
run: | | ||
eval $(opam env) | ||
opam pin add . -y | ||
opam install odoc | ||
make website | ||
cd website/website | ||
yarn | ||
yarn build | ||
pwd | ||
ls | ||
ls build | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./website/website/build/snarky |
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 |
---|---|---|
|
@@ -29,10 +29,6 @@ opam pin add [email protected]:o1-labs/snarky.git | |
``` | ||
and answering yes to the prompts. | ||
|
||
The best place to get started learning how to use the library are the annotated examples. | ||
- [Election](examples/election/election_main.ml): shows how to use Snarky to verify an election was run honestly. | ||
- [Merkle update](examples/merkle_update/merkle_update.ml): a simple example updating a Merkle tree. | ||
|
||
## Design | ||
|
||
The intention of this library is to allow writing snarks by writing what look | ||
|
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 |
---|---|---|
|
@@ -20,10 +20,6 @@ opam pin add [email protected]:o1-labs/snarky.git | |
``` | ||
and answering yes to the prompts. | ||
|
||
The best place to get started learning how to use the library are the annotated examples. | ||
- [Election](examples/election/election_main.ml): shows how to use Snarky to verify an election was run honestly. | ||
- [Merkle update](examples/merkle_update/merkle_update.ml): a simple example updating a Merkle tree. | ||
|
||
## Design | ||
|
||
The intention of this library is to allow writing snarks by writing what look | ||
|
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