Skip to content

Commit

Permalink
ci: hydra -> github runner
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Sep 11, 2023
1 parent 11efd13 commit bb2df4c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:

jobs:
nix:
name: Nix
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
with:
github-token: ${{ secrets.NIX_GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run `nix flake check`
run: nix flake check -L
10 changes: 5 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
nixpkgs.follows = "fstar-flake/nixpkgs";

comparse-flake = {
url = "git+ssh://git@github.com/TWal/comparse.git";
url = "github:TWal/comparse";
inputs.nixpkgs.follows = "nixpkgs";
inputs.fstar-flake.follows = "fstar-flake";
};

dolev-yao-star-src = {
url = "git+ssh://git@github.com/prosecco/dolev-yao-star.git";
url = "github:prosecco/dolev-yao-star";
flake = false;
};
};
Expand Down Expand Up @@ -38,9 +38,9 @@
++ (fstar.buildInputs);
};
defaultPackage.${system} = mls-star;
hydraJobs = {
mls-build.${system} = mls-star;
mls-tests.${system} = mls-star.tests;
checks.${system} = {
mls-build = mls-star;
mls-tests = mls-star.tests;
};
};
}

0 comments on commit bb2df4c

Please sign in to comment.