From c184adf70c23fe2c0f3b0b727918ca32e94e673a Mon Sep 17 00:00:00 2001 From: Paul-Nicolas Madelaine Date: Mon, 23 Oct 2023 18:00:34 +0200 Subject: [PATCH] ci: hydra -> github runner --- .github/workflows/ci.yml | 19 +++++++++++++++++++ flake.nix | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..664dc674a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +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 .#aeneas + - run: nix build -L .#checks.x86_64-linux.aeneas-tests + - run: nix build -L .#checks.x86_64-linux.aeneas-verify-fstar + - run: nix build -L .#checks.x86_64-linux.aeneas-verify-coq + #- run: nix build -L .#checks.x86_64-linux.aeneas-verify-lean + - run: nix build -L .#checks.x86_64-linux.aeneas-verify-hol4 diff --git a/flake.nix b/flake.nix index 4ff460467..ebe1e90d5 100644 --- a/flake.nix +++ b/flake.nix @@ -169,6 +169,5 @@ default = aeneas; }; checks = { inherit aeneas aeneas-tests aeneas-verify-fstar aeneas-verify-coq aeneas-verify-lean aeneas-verify-hol4; }; - hydraJobs = { inherit aeneas aeneas-tests aeneas-verify-fstar aeneas-verify-coq aeneas-verify-lean aeneas-verify-hol4; }; }); }