Repos / shark / 993316b83c
commit 993316b83caf4a1fc2342dead67abd27ea5dc912
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Wed Jun 29 22:22:34 2022 +0700

    add sourcehut builds

diff --git a/.builds/debian.yml b/.builds/debian.yml
new file mode 100644
index 0000000..e8d4f65
--- /dev/null
+++ b/.builds/debian.yml
@@ -0,0 +1,30 @@
+image: debian/bullseye
+
+packages:
+  - golang-1.18
+  # The following copied as-is from https://ebiten.org/documents/install.html
+  - libc6-dev
+  - libglu1-mesa-dev
+  - libgl1-mesa-dev
+  - libxcursor-dev
+  - libxi-dev
+  - libxinerama-dev
+  - libxrandr-dev
+  - libxxf86vm-dev
+  - libasound2-dev
+  - pkg-config
+
+repositories:
+  backports: http://deb.debian.org/debian bullseye-backports main
+
+tasks:
+  - build: |
+      cd shark
+      export PATH="$PATH:/usr/lib/go-1.18/bin"
+      go version
+      go build -o shark-linux
+      GOOS=windows GOARCH=amd64 go build -o shark-win.exe
+
+artifacts:
+  - shark/shark-linux
+  - shark/shark-win.exe