diff options
Diffstat (limited to '')
| -rw-r--r-- | .build.yml | 15 | ||||
| -rw-r--r-- | .github/workflows/build.yml | 14 | ||||
| -rw-r--r-- | flake.lock | 12 | ||||
| -rw-r--r-- | flake.nix | 2 |
4 files changed, 36 insertions, 7 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..ffbf56e --- /dev/null +++ b/.build.yml @@ -0,0 +1,15 @@ +image: nixos/unstable +oauth: pages.sr.ht/PAGES:RW +sources: + - git@git.sr.ht:~mmagueta/relational-engine +environment: + NIX_CONFIG: "experimental-features = nix-command flakes" +tasks: + - check_branch: | + cd relational-engine + if [ "$(git rev-parse master)" != "$(git rev-parse HEAD)" ]; then \ + complete-build; \ + fi + - build: | + cd relational-engine + nix flake check
\ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d530a2b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,14 @@ +name: "Build" +on: + pull_request: + push: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v25 + with: + nix_path: nixpkgs=channel:nixos-unstable + - uses: DeterminateSystems/magic-nix-cache-action@v2 + - run: nix flake check
\ No newline at end of file @@ -20,11 +20,11 @@ }, "nix-filter": { "locked": { - "lastModified": 1710156097, - "narHash": "sha256-1Wvk8UP7PXdf8bCCaEoMnOT1qe5/Duqgj+rL8sRQsSM=", + "lastModified": 1730207686, + "narHash": "sha256-SCHiL+1f7q9TAnxpasriP6fMarWE5H43t25F5/9e28I=", "owner": "numtide", "repo": "nix-filter", - "rev": "3342559a24e85fc164b295c3444e8a139924675b", + "rev": "776e68c1d014c3adde193a18db9d738458cd2ba4", "type": "github" }, "original": { @@ -35,11 +35,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1728888510, - "narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=", + "lastModified": 1730200266, + "narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c", + "rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd", "type": "github" }, "original": { @@ -250,7 +250,7 @@ ocamlPackages.ppx_inline_test legacyPackages.cmake legacyPackages.gcc - legacyPackages.nixfmt + legacyPackages.nixfmt-classic ]; shellHook = '' |
