1
0
Fork 0

Add Workflows for Make Windows Binaries

pull/3713/head^2
Methan Sritharan 2021-09-23 14:53:01 +05:30 committed by GitHub
parent e8788d1b32
commit 777b3bd71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

31
.github/workflows/build.yml vendored 100644
View File

@ -0,0 +1,31 @@
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install
run: sudo apt install mingw-w64
- name: make default
run: cd src && make clean && make -j build COMP=mingw ARCH=x86-64 EXE=stockfish_x64.exe && strip stockfish_x64.exe
- name: make modern
run: cd src && make clean && make -j build COMP=mingw ARCH=x86-64-modern EXE=stockfish_x64_modern.exe && strip stockfish_x64_modern.exe
- name: make bmi2
run: cd src && make clean && make -j build COMP=mingw ARCH=x86-64-bmi2 EXE=stockfish_x64_bmi2.exe && strip stockfish_x64_bmi2.exe
- uses: actions/upload-artifact@v2
with:
name: stockfish
path: src/stockfish*.exe