hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit b4ddb2a067c5baa02d4a633fa2d4d6725e145a3b
parent ec4a1dce184475fa970ad665b0e806b2fca82fe3
Author: Ember Sawady <ecs@d2evs.net>
Date:   Wed,  3 Jan 2024 18:55:33 +0000

.builds/*: only run for ~sircmpwn/hare

Signed-off-by: Ember Sawady <ecs@d2evs.net>

Diffstat:
M.builds/alpine.yml | 11++++++++++-
M.builds/freebsd.yml | 10+++++++++-
M.builds/openbsd.yml | 10+++++++++-
3 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/.builds/alpine.yml b/.builds/alpine.yml @@ -12,10 +12,19 @@ triggers: to: "<~sircmpwn/hare-dev@lists.sr.ht>" tasks: - environment: | - if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] && [ "$GIT_REF" != "refs/heads/master" ] + 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/~sircmpwn/hare" ] + then complete-build + fi fi +- signoff: | cd hare if [ "$BUILD_REASON" = "patchset" ] then diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml @@ -12,9 +12,17 @@ triggers: to: "<~sircmpwn/hare-dev@lists.sr.ht>" tasks: - environment: | - if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] && [ "$GIT_REF" != "refs/heads/master" ] + 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/~sircmpwn/hare" ] + then complete-build + fi fi - qbe: | cd qbe diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml @@ -13,9 +13,17 @@ triggers: to: "<~sircmpwn/hare-dev@lists.sr.ht>" tasks: - environment: | - if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] && [ "$GIT_REF" != "refs/heads/master" ] + 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/~sircmpwn/hare" ] + then complete-build + fi fi - qbe: | cd qbe