Skip to content

Commit

Permalink
Add example openbench.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyGrant committed May 24, 2023
1 parent 47ff4dd commit 1bdb332
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Documentation/openbench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: OpenBench Build
on:
push:
workflow_dispatch:

jobs:
build_and_archive:
name: Build and Archive
strategy:
matrix:
os: [ubuntu-latest]
nnue_flags: [avx2, avx512]
cpu_flags: [popcnt, pext]

runs-on: ${{ matrix.os }}
steps:
- name: Setup Linux GCC ${{ matrix.version }}
uses: egor-tensin/setup-gcc@v1
with:
version: 11
platform: x86
- name: Clone Ethereal
uses: actions/checkout@v3
- name: Build Ethereal ${{ matrix.flags }}
run: make EVALFILE=none CC=gcc static=1 ${{ matrix.nnue_flags }}=1 ${{ matrix.cpu_flags }}=1
- name: Archive ${{ matrix.nnue_flags }}-${{ matrix.cpu_flags }}
uses: actions/upload-artifact@v3
with:
name: ${{ github.sha }}-linux-${{ matrix.nnue_flags }}-${{ matrix.cpu_flags }}
path: ethereal

0 comments on commit 1bdb332

Please sign in to comment.