forked from official-pikafish/Pikafish
-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (51 loc) · 1.84 KB
/
pikafish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Pikafish
on:
push:
branches:
- master
jobs:
windows:
strategy:
matrix:
arch: ["-vnni512", "-avx512", "-bmi2", "-avx2", "-modern", ""]
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: make
run: cd src && make clean && make -j build COMP=mingw ARCH=x86-64${{ matrix.arch }} EXE=pikafish${{ matrix.arch }}.exe && strip pikafish${{ matrix.arch }}.exe
- name: copy binary to folder
run: mkdir windows && cp src/pikafish*.exe windows
- uses: actions/upload-artifact@v3
with:
name: pikafish
path: |
windows/pikafish*
AUTHORS
Copying.txt
NNUE-License.txt
README.md
Top CPU Contributors.txt
linux:
strategy:
matrix:
arch: ["-avx512", "-bmi2", "-avx2", "-modern", ""]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
- name: make
run: cd src && make clean && make -j build COMP=gcc ARCH=x86-64${{ matrix.arch }} EXE=pikafish${{ matrix.arch }} && strip pikafish${{ matrix.arch }}
- name: copy binary to folder
run: mkdir linux && cp src/pikafish* linux
- name: upload to fishtest
if: ${{ matrix.arch == '-bmi2' }}
run: curl -F engine=@src/pikafish-bmi2 http://test.pikafish.org/api/add_task -F "task_name=${{ github.event.head_commit.message }}" -F "password=${{ secrets.NOTHING }}" -F "game_time=10" -F "inc_time=0.1" -F "depth=-1" -F "nodes=-1" -F "elo0=0" -F "elo1=5" -F "alpha=0.05" -F "beta=0.05" -F "visible=0"
- uses: actions/upload-artifact@v3
with:
name: pikafish
path: |
linux/pikafish*
AUTHORS
Copying.txt
NNUE-License.txt
README.md
Top CPU Contributors.txt