From 294b35a81569819047d4af173000b4ff7bc5d6a6 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Fri, 5 Jun 2026 23:49:57 -0300 Subject: github workflow --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f4c4d9b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +env: + NIX_CONFIG: "experimental-features = nix-command flakes" + +jobs: + build: + name: Build + runs-on: [self-hosted, nixos] + steps: + - uses: actions/checkout@v4 + - name: Build + run: nix build .#default -L + + format: + name: Check formatting + runs-on: [self-hosted, nixos] + steps: + - uses: actions/checkout@v4 + - name: Check formatting + run: nix build .#checks.x86_64-linux.dune-fmt -L + + test: + name: Run tests + runs-on: [self-hosted, nixos] + steps: + - uses: actions/checkout@v4 + - name: Run tests + run: nix build .#checks.x86_64-linux.relational_engine -L -- cgit v1.2.3