-
Notifications
You must be signed in to change notification settings - Fork 78
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 #852 from o1-labs/dw/fix-ci
CI: make it happier
- Loading branch information
Showing
3 changed files
with
40 additions
and
44 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 |