-
Notifications
You must be signed in to change notification settings - Fork 186
39 lines (32 loc) · 967 Bytes
/
tuning.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
name: Tune
on:
push:
branches:
- tune
jobs:
linux:
env:
COMPCXX: clang++
COMP: clang
ARCH: x86-64-bmi2
defaults:
run:
working-directory: src
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install LLVM and Clang
if: runner.os == 'Linux'
run: |
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
echo | sudo ./llvm.sh 19
rm llvm.sh
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 100
sudo update-alternatives --set clang++ /usr/bin/clang++-19
- name: make
run: make clean && make -j build && make strip
- name: upload to fishtest
run: curl https://test.pikafish.org/api/pre_upload -F file=@pikafish -F "file_type=engine" -F "password=${{ secrets.NOTHING }}"
- name: print variables table
run: printf 'quit' | ./pikafish