aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-10-04 14:48:47 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2023-10-04 14:48:47 +0200
commitafee8d9c7a4e8b727d21993c6f890d52943d55cd (patch)
treed1e4c8ecfa6e7e229753eb038248dfbed98cb41f
parent6dbe0d881ec5a3759f02e2ca5857c2dbd473ed72 (diff)
added woodpecker integration
-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