From 12745d0ae8e770529438a02724ac3c44cc298e44 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Wed, 23 Dec 2020 17:22:22 +0100 Subject: [PATCH] Update build actions --- .github/workflows/build.yml | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1ebaa5..9d570f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,11 +6,9 @@ on: pull_request: branches: [ master ] - workflow_dispatch: - jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 @@ -18,10 +16,13 @@ jobs: - name: install run: sudo apt install mingw-w64 - - name: make - run: cd src && make -j build ARCH=x86-64 COMP=mingw + - name: make default + run: cd src && make clean && make -j build COMP=mingw ARCH=x86-64 EXE=fairy-stockfish_x86-64.exe && strip fairy-stockfish_x86-64.exe + + - name: make largeboards + run: cd src && make clean && make -j build COMP=mingw ARCH=x86-64 EXE=fairy-stockfish-largeboards_x86-64.exe largeboards=yes && strip fairy-stockfish-largeboards_x86-64.exe - uses: actions/upload-artifact@v2 with: - name: fairy-stockfish_x86-64.exe - path: src/stockfish.exe + name: fairy-stockfish + path: src/fairy-stockfish*.exe -- 1.7.0.4