summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-09-22 22:44:05 +0200
committerPolesznyák Márk <contact@pml68.dev>2025-09-22 22:44:05 +0200
commitccc42534e5a4d65b28bbabbe5f804e9c8fe06a61 (patch)
treee512c254f8e40eb823735b0f24d702ae0ae1fe7a
parentfeat: add build manifest (diff)
downloadiced-builder-ccc42534e5a4d65b28bbabbe5f804e9c8fe06a61.tar.gz
ci: add checks for building (must be git push on `master`)
-rw-r--r--.build.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index b372f07..ca949c3 100644
--- a/.build.yml
+++ b/.build.yml
@@ -27,6 +27,23 @@ tasks:
- test: |
cd iced-builder
cargo test --verbose --workspace
+ - environment: |
+ cd hare
+ if [ "$BUILD_SUBMITTER" = "git.sr.ht" ]
+ then
+ if [ "$GIT_REF" != "refs/heads/master" ]
+ then
+ complete-build
+ fi
+ if [ "$(git remote get-url origin)" != "https://git.sr.ht/~pml68/iced-builder" ]
+ then
+ complete-build
+ fi
+ fi
+ if [ "$BUILD_REASON" = "patchset" ]
+ then
+ complete-build
+ fi
- build-stable: |
cd iced-builder