Skip to content

chore(license): update license classifier to GPL-3.0-or-later #614

chore(license): update license classifier to GPL-3.0-or-later

chore(license): update license classifier to GPL-3.0-or-later #614

Workflow file for this run

name: Release
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
windows:
strategy:
matrix:
arch: ["x86-64-bmi2", "x86-64-modern", "x86-64"]
runs-on: windows-2022
steps:
- uses: al-cheb/[email protected]
with:
minimum-size: 16GB
maximum-size: 16GB
disk-root: "C:"
- uses: actions/checkout@v3
- name: make
run: cd src && make clean && make -j build COMP=mingw ARCH=${{ matrix.arch }} EXE=fairy-stockfish_${{ matrix.arch }}.exe && strip fairy-stockfish_${{ matrix.arch }}.exe
- name: make largeboards
run: cd src && make clean && make -j build COMP=mingw ARCH=${{ matrix.arch }} EXE=fairy-stockfish-largeboards_${{ matrix.arch }}.exe largeboards=yes && strip fairy-stockfish-largeboards_${{ matrix.arch }}.exe
- name: make all
if: ${{ matrix.arch == 'x86-64' }}
run: cd src && make clean && make -j build COMP=mingw ARCH=${{ matrix.arch }} EXE=fairy-stockfish-all_${{ matrix.arch }}.exe largeboards=yes all=yes && strip fairy-stockfish-all_${{ matrix.arch }}.exe
- uses: actions/upload-artifact@v3
with:
name: fairy-stockfish
path: src/fairy-stockfish*.exe
linux:
strategy:
matrix:
arch: ["x86-64-bmi2", "x86-64-modern", "x86-64"]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: make
run: cd src && make clean && make -j build COMP=gcc ARCH=${{ matrix.arch }} EXE=fairy-stockfish_${{ matrix.arch }} && strip fairy-stockfish_${{ matrix.arch }}
- name: make largeboards
run: cd src && make clean && make -j build COMP=gcc ARCH=${{ matrix.arch }} EXE=fairy-stockfish-largeboards_${{ matrix.arch }} largeboards=yes && strip fairy-stockfish-largeboards_${{ matrix.arch }}
- name: make all
if: ${{ matrix.arch == 'x86-64' }}
run: cd src && make clean && make -j build COMP=gcc ARCH=${{ matrix.arch }} EXE=fairy-stockfish-all_${{ matrix.arch }} largeboards=yes all=yes && strip fairy-stockfish-all_${{ matrix.arch }}
- uses: actions/upload-artifact@v3
with:
name: fairy-stockfish
path: src/fairy-stockfish*