shithub: moonfish

Download patch

ref: 2c66ae6b6c47bef6c8345c35367e06ca570aa364
parent: e59885c32ea842ef354d03e3277a8052ba57ef60
author: zamfofex <zamfofex@twdb.moe>
date: Sat Oct 7 11:15:12 EDT 2023

add ‘.build.yml’

--- /dev/null
+++ b/.build.yml
@@ -1,0 +1,15 @@
+image: alpine/latest
+packages:
+  - build-base
+  - python3
+sources:
+  - https://git.sr.ht/~zamfofex/moonfish
+  - https://github.com/thomasahle/sunfish#10e93383eae345c2b700657afe33b862604af20a
+tasks:
+  - build: |
+      cp sunfish/nnue/models/tanh.pickle moonfish
+      cd moonfish
+      make LDFLAGS=-static inbuilt_network=yes all
+artifacts:
+  - moonfish/moonfish
+  - moonfish/play
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
 !/.gitignore
 !/README.md
 !/makefile
+!/.build.yml
 !/*.c
 !/moonfish.h
 !/convert.py
--