~earboxer/musicdir-devel

sourcehut: Add build script v1 APPLIED

Zach DeCook: 1
 sourcehut: Add build script

 1 files changed, 16 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~earboxer/musicdir-devel/patches/32107/mbox | git am -3
Learn more about email & git

[PATCH] sourcehut: Add build script Export this patch

Always check sanitycheck, build last package[s] updated
(and save the artifacts)
---
See this successful at https://builds.sr.ht/~earboxer/job/754137

 .build.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 .build.yml

diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..2f0af14
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,16 @@
image: alpine/edge
sources:
  - https://git.sr.ht/~earboxer/mdaports
tasks:
  - sanitycheck: |
      find mdaports -name '*APKBUILD' | xargs -I{} sh -c "APKBUILD='{}' abuild sanitycheck"
  - build_setup: |
      abuild-keygen -a -n
  - build_changed: |
      cd mdaports
      git diff --name-only HEAD HEAD~1 | xargs -I{} dirname '{}' | sort -u | grep -v '^.$' | xargs -I{} find '{}' -name '*APKBUILD' | xargs -I{} sh -c "APKBUILD='{}' abuild"
  - tar_packages: |
      mkdir -p packages
      tar -cf packages.tar packages
artifacts:
  - packages.tar
-- 
2.36.0