Closed ppigazzini closed 2 years ago
If merged I will updated the build script (https://github.com/glinscott/fishtest/pull/1362#issuecomment-1160653150) and test scripts on the wiki page.
#!/bin/bash
# use lxc/lxd on Ubuntu 18.04 or later
# sudo snap install lxd
# sudo lxd init
# accept all the defaults
# copy book and cutechess-cli stockfish binaries in "32" and "64" folders
_test_cute () {
echo ${1} ${2}
lxc launch ${1} c000
for i in cutechess-cli stockfish UHO_XXL_+0.90_+1.19.epd; do
lxc file push ${2}/${i} c000/root/${i}
done
[[ -z ${3} ]] || lxc exec c000 -- sh -c "${3}"
lxc exec c000 -- sh -c './cutechess-cli -repeat -rounds 5 -games 2 -tournament gauntlet -resign movecount=3 score=400 -draw movenumber=34 movecount=8 score=20 -concurrency 5 -openings file=UHO_XXL_+0.90_+1.19.epd format=epd order=random plies=16 -engine name=base cmd=stockfish option."Use NNUE=true" -engine name=test cmd=stockfish option."Use NNUE=true" -ratinginterval 1 -each tc=1.0+0.01 proto=uci option.Threads=1 -pgnout result.pgn'
lxc exec c000 -- cat result.pgn
lxc delete -f c000
}
_test_cute images:almalinux/8 64
_test_cute images:almalinux/9 64
_test_cute images:alpine/3.13 64
_test_cute images:alpine/3.14 64
_test_cute images:alpine/3.15 64
_test_cute images:alpine/3.16 64
_test_cute images:alpine/edge 64
_test_cute images:archlinux 64
_test_cute images:centos/8-Stream 64
_test_cute images:centos/9-Stream 64
_test_cute images:debian/9 64
_test_cute images:debian/10 64
_test_cute images:debian/11 64
_test_cute images:debian/12 64
_test_cute images:debian/sid 64
_test_cute images:fedora/34 64
_test_cute images:fedora/35 64
_test_cute images:fedora/36 64
_test_cute images:gentoo/systemd 64
_test_cute images:opensuse/15.3 64
_test_cute images:opensuse/15.4 64
_test_cute images:opensuse/tumbleweed 64
_test_cute ubuntu:14.04 64
_test_cute ubuntu:16.04 64
_test_cute ubuntu:18.04 64
_test_cute ubuntu:20.04 64
_test_cute ubuntu:22.04 64
_test_cute images:voidlinux 64
_test_cute images:voidlinux/musl 64
_test_cute images:alpine/3.13/i386 32
_test_cute images:alpine/3.14/i386 32
_test_cute images:alpine/3.15/i386 32
_test_cute images:alpine/3.16/i386 32
_test_cute images:alpine/edge/i386 32
_test_cute images:debian/9/i386 32
_test_cute images:debian/10/i386 32
_test_cute images:debian/11/i386 32
_test_cute images:debian/12/i386 32
_test_cute images:debian/sid/i386 32
_test_cute images:opensuse/tumbleweed/i386 32
_test_cute ubuntu:14.04/i386 32
_test_cute ubuntu:16.04/i386 32
_test_cute ubuntu:18.04/i386 32
Wiki page updated with the building and testing scripts.
Linux
cutechess-cli
static binaries built from v1.2.0 cutechess/cutechess@3d1ac5b7 using these instructions. Tested working on 48 linux distributions/versions, older ones Ubuntu 14.04 32 and 64 bit.All files tested clean with VirusTotal, see the logs: cutechess-cli-linux-64bit.zip cutechess-cli-linux-32bit.zip