Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add weekly CI #315

Closed
wants to merge 11 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

jobs:
default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.13.1
- run: opam install ppx_deriving visitors easy_logging zarith yojson core_unix odoc menhir
- run: opam exec -- make build
- run: IN_CI=1 opam exec -- make test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ opam install ppx_deriving visitors easy_logging zarith yojson core_unix odoc men
```

You can then run `make build-charon-ml` to build the ML library, or even simply
`make` to build the whole project (Rust and OCaml). Finally, you can run the
tests with `make test`.
`make build` to build the whole project (Rust and OCaml). Finally, you can run
the tests with `make test`.

Alternatively, you can use Nix and do `nix develop` (or use https://direnv.net/ and `direnv allow`)
and all dependencies should be made available.
Expand Down
Loading