aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Boesch <[email protected]>2023-10-04 12:54:59 +0000
committerChris Boesch <[email protected]>2023-10-04 12:54:59 +0000
commit4b1ba69270cbd2335cab7512872585d9d4bd74c1 (patch)
tree2cb109cc7b7d0da531473f356d0e8733284dcfde
parenta2864032505f0e6d795471e4375dd9a0c668bbc3 (diff)
parentafee8d9c7a4e8b727d21993c6f890d52943d55cd (diff)
downloadziglings-4b1ba69270cbd2335cab7512872585d9d4bd74c1.tar.xz
ziglings-4b1ba69270cbd2335cab7512872585d9d4bd74c1.zip
Merge pull request 'added woodpecker integration' (#6) from woodpecker into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/6
-rw-r--r--.woodpecker/eowyn.yml12
-rwxr-xr-xpatches/eowyn.sh2
-rwxr-xr-xtest/patchbin0 -> 1204512 bytes
3 files changed, 13 insertions, 1 deletions
diff --git a/.woodpecker/eowyn.yml b/.woodpecker/eowyn.yml
new file mode 100644
index 0000000..093bb6d
--- /dev/null
+++ b/.woodpecker/eowyn.yml
@@ -0,0 +1,12 @@
+steps:
+ eowyn:
+ image: buddyspencer/ziglang
+ # image: debian
+ commands:
+ - sh ./patches/eowyn.sh
+ when:
+ events:
+ - push
+ - pull-requests
+ - cron
+ cron: "Daily"
diff --git a/patches/eowyn.sh b/patches/eowyn.sh
index 95b2a1c..67a6b36 100755
--- a/patches/eowyn.sh
+++ b/patches/eowyn.sh
@@ -39,7 +39,7 @@ do
# Apply the bandages to the wounds, grow new limbs, let
# new life spring into the broken bodies of the fallen.
echo Healing "$true_name"...
- patch --output="patches/healed/$true_name.zig" "$broken" "$patch_name"
+ ./test/patch --output="patches/healed/$true_name.zig" "$broken" "$patch_name"
else
echo Cannot heal "$true_name". No patch found.
fi
diff --git a/test/patch b/test/patch
new file mode 100755
index 0000000..e3bf6f0
--- /dev/null
+++ b/test/patch
Binary files differ