aboutsummaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2024-11-02 19:55:36 -0300
committerGitHub <noreply@github.com>2024-11-02 19:55:36 -0300
commitb5dbdaa989a86477669aac0bf342029e1d2b6028 (patch)
tree39ea5b3c23a4acf0464044ca67b8bdb91c5eb0bb /.build.yml
parentfcb5613755b08fcb7ae73a3826b1cdce40e2747f (diff)
downloadSakura-b5dbdaa989a86477669aac0bf342029e1d2b6028.tar.gz
Sakura-b5dbdaa989a86477669aac0bf342029e1d2b6028.zip
CI workflows and flake update (#3)
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml15
1 files changed, 15 insertions, 0 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