From bbb93d6690b12db8cf8a0eb92c6148a49e4b11ac Mon Sep 17 00:00:00 2001 From: Paul-Nicolas Madelaine Date: Mon, 23 Oct 2023 17:47:09 +0200 Subject: [PATCH] ci: hydra -> github runner --- .github/workflows/ci.yml | 18 ++++++++++++++++++ flake.nix | 3 --- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..e583ac56 --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 diff --git a/flake.nix b/flake.nix index 27c53ffa..c35788ce 100644 --- a/flake.nix +++ b/flake.nix @@ -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; - }; }); }