-
Notifications
You must be signed in to change notification settings - Fork 1
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 #25 from Cjen1/improve_restart_perf
Improve the failure recovery properties
- Loading branch information
Showing
28 changed files
with
853 additions
and
771 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,24 @@ | ||
name: Build and runtest | ||
name: "CI" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
name: Check build | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: nix develop -c dune build | ||
format: | ||
name: Check formatting | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: nix develop -c dune build @fmt | ||
runtest: | ||
name: Run tests | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: nix develop -c dune runtest | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@v4 | ||
- name: Run the Magic Nix Cache | ||
uses: DeterminateSystems/magic-nix-cache-action@v1 | ||
- name: Run tests | ||
run: | | ||
nix develop -c dune runtest | ||
- name: Format | ||
run: | | ||
nix develop -c dune build @fmt | ||
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,16 +1,19 @@ | ||
(executable | ||
(name cli) | ||
(modules cli) | ||
(libraries ocons.core cmdliner)) | ||
(name cli) | ||
(modules cli) | ||
(libraries ocons.core cmdliner)) | ||
|
||
(executable | ||
(name bench) | ||
(modules bench) | ||
(libraries ocons.core cmdliner)) | ||
(name bench) | ||
(modules bench) | ||
(libraries ocons.core cmdliner)) | ||
|
||
(executable | ||
(name echo) | ||
(modules echo) | ||
(libraries ocons.core cmdliner)) | ||
(name echo) | ||
(modules echo) | ||
(libraries ocons.core cmdliner)) | ||
|
||
(executable | ||
(name test_alloc) | ||
(modules test_alloc) | ||
(libraries core core_bench core_unix.command_unix)) | ||
(name test_alloc) | ||
(modules test_alloc) | ||
(libraries core core_bench core_unix.command_unix)) |
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,6 +1,6 @@ | ||
(executable | ||
(name ctree_bench) | ||
(modules ctree_bench) | ||
(libraries impl_core core_bench.inline_benchmarks) | ||
(preprocess (pps ppx_jane ppx_deriving.show)) | ||
) | ||
(name ctree_bench) | ||
(modules ctree_bench) | ||
(libraries impl_core core_bench.inline_benchmarks) | ||
(preprocess | ||
(pps ppx_jane ppx_deriving.show))) |
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.