git » sdk » commit 6a377c1

Alpine CI

author Stephen Paul Weber
2024-10-09 16:54:50 UTC
committer Stephen Paul Weber
2024-10-09 17:44:54 UTC
parent 3d59fb97d9794b93de7cb12c36f4bc102fe42654

Alpine CI

.builds/alpine.yml +38 -0

diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644
index 0000000..d4e9445
--- /dev/null
+++ b/.builds/alpine.yml
@@ -0,0 +1,38 @@
+image: alpine/3.20
+packages:
+- opus-dev
+#- libdatachannel-dev
+- libstrophe-dev
+- libc++-dev
+- musl-dev
+- alpine-sdk
+sources:
+- https://git.sr.ht/~singpolyma/snikket-sdk
+- https://gitlab.alpinelinux.org/anjandev/aports.git#haxe
+tasks:
+- keygen: |
+    abuild-keygen -a -i -n
+- plog-dev: |
+    cd aports/community/plog
+    abuild -r
+- libdatachannel: |
+    cd aports/community/libdatachannel
+    abuild -r
+- neko: |
+    cd aports/testing/neko
+    abuild -r
+- haxe: |
+    cd aports/testing/haxe
+    abuild -r
+- xlocale: |
+    doas ln -s /usr/include/locale.h /usr/include/xlocale.h
+- haxelib: |
+    haxelib install datetime
+    haxelib install haxe-strings
+    haxelib install hsluv
+    haxelib install tink_http
+    haxelib install sha
+    haxelib install thenshim
+- make: |
+    cd snikket-sdk
+    make