~leon_plickat/public-inbox

nfm: Add CI builds v3 APPLIED

Hugo Machet: 1
 Add CI builds

 2 files changed, 45 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/~leon_plickat/public-inbox/patches/30879/mbox | git am -3
Learn more about email & git

[PATCH nfm v3] Add CI builds Export this patch

---
v2 -> v3:
Remove archlinux build

 .builds/alpine.yml  | 23 +++++++++++++++++++++++
 .builds/freebsd.yml | 22 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 .builds/alpine.yml
 create mode 100644 .builds/freebsd.yml

diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644
index 000000000000..adab7c86c96b
--- /dev/null
+++ b/.builds/alpine.yml
@@ -0,0 +1,23 @@
image: alpine/edge
packages:
  - wget
  - xz
sources:
  - https://git.sr.ht/~leon_plickat/nfm
tasks:
  - install_deps: |
      # Remove a lot of useless lines from wget and tar output.
      wget -q https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
      tar -xvf zig-linux-x86_64-0.9.1.tar.xz 1>/dev/null
      sudo mv zig-linux-x86_64-0.9.1/zig /usr/bin/
      sudo mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
  - build: |
      cd nfm
      zig build
  - test: |
      cd nfm
      zig build test
  - fmt: |
      cd nfm
      zig fmt --check src/
      zig fmt --check build.zig
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
new file mode 100644
index 000000000000..beb2dfd744f9
--- /dev/null
+++ b/.builds/freebsd.yml
@@ -0,0 +1,22 @@
image: freebsd/latest
packages:
  - wget
sources:
  - https://git.sr.ht/~leon_plickat/nfm
tasks:
  - install_deps: |
      # Remove a lot of useless lines from wget and tar output.
      wget -q https://ziglang.org/download/0.9.1/zig-freebsd-x86_64-0.9.1.tar.xz
      tar -xvf zig-freebsd-x86_64-0.9.1.tar.xz 1>/dev/null
      sudo mv zig-freebsd-x86_64-0.9.1/zig /usr/bin/
      sudo mv zig-freebsd-x86_64-0.9.1/lib /usr/lib/zig
  - build: |
      cd nfm
      zig build
  - test: |
      cd nfm
      zig build test
  - fmt: |
      cd nfm
      zig fmt --check src/
      zig fmt --check build.zig
-- 
2.35.1
Thanks!


Friendly greetings,
Leon Henrik Plickat