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 Oct 23, 2023
1 parent 3e38415 commit bbb93d6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches-ignore: [ '_**' ]
pull_request:
workflow_dispatch:

jobs:
nix:
#runs-on: ubuntu-latest
runs-on: [self-hosted, linux, nix]
steps:
#- uses: cachix/install-nix-action@v22
- uses: actions/checkout@v4
- run: nix build -L .#charon
- run: nix build -L .#checks.x86_64-linux.tests
- run: nix build -L .#checks.x86_64-linux.tests-polonius
- run: nix build -L .#charon-ml
- run: nix build -L .#checks.x86_64-linux.charon-ml-tests
3 changes: 0 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,5 @@
default = charon;
};
checks = { inherit tests tests-polonius charon-ml-tests; };
hydraJobs = {
inherit charon tests tests-polonius charon-ml charon-ml-tests;
};
});
}

0 comments on commit bbb93d6

Please sign in to comment.