CI workflows, install git on windows

ensures the SF dev version is reported correctly

closes https://github.com/official-stockfish/Stockfish/pull/4272

No functional change
This commit is contained in:
Joost VandeVondele
2022-12-09 18:24:54 +01:00
parent aedf0251e6
commit 3a30b478d2
5 changed files with 32 additions and 33 deletions

View File

@@ -58,8 +58,7 @@ jobs:
sudo apt install qemu-user
- name: Download the used network from the fishtest framework
run: |
make net
run: make net
- name: Check compiler
run: |
@@ -74,8 +73,10 @@ jobs:
$COMPILER -v
- name: Test help target
run: |
make help
run: make help
- name: Check git
run: git --version
# Compile profile guided builds
@@ -113,5 +114,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: stockfish-android-${{ matrix.binaries }}
path: |
stockfish-android-${{ matrix.binaries }}.tar
path: stockfish-android-${{ matrix.binaries }}.tar

View File

@@ -56,8 +56,7 @@ jobs:
- name: Download required linux packages
if: runner.os == 'Linux'
run: |
sudo apt update
run: sudo apt update
- name: Setup msys and install required packages
if: runner.os == 'Windows'
@@ -67,16 +66,16 @@ jobs:
install: mingw-w64-${{ matrix.config.msys_env }} make git
- name: Download the used network from the fishtest framework
run: |
make net
run: make net
- name: Check compiler
run: |
$COMPILER -v
run: $COMPILER -v
- name: Test help target
run: |
make help
run: make help
- name: Check git
run: git --version
# Compile profile guided builds
@@ -105,5 +104,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: stockfish-${{ matrix.config.os }}-${{ matrix.binaries }}
path: |
stockfish-${{ matrix.config.os }}-${{ matrix.binaries }}.tar
path: stockfish-${{ matrix.config.os }}-${{ matrix.binaries }}.tar

View File

@@ -72,19 +72,19 @@ jobs:
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.config.msys_sys}}
install: mingw-w64-${{matrix.config.msys_env}} make
install: mingw-w64-${{matrix.config.msys_env}} make git
- name: Download the used network from the fishtest framework
run: |
make net
run: make net
- name: Check compiler
run: |
$COMPILER -v
run: $COMPILER -v
- name: Test help target
run: |
make help
run: make help
- name: Check git
run: git --version
# x86-64 with newer extensions tests

View File

@@ -55,16 +55,16 @@ jobs:
sudo apt install expect valgrind g++-multilib
- name: Download the used network from the fishtest framework
run: |
make net
run: make net
- name: Check compiler
run: |
$COMPILER -v
run: $COMPILER -v
- name: Test help target
run: |
make help
run: make help
- name: Check git
run: git --version
# Sanitizers

View File

@@ -115,8 +115,7 @@ jobs:
install: mingw-w64-${{ matrix.config.msys_env }} make git expect
- name: Download the used network from the fishtest framework
run: |
make net
run: make net
- name: Extract the bench number from the commit history
run: |
@@ -136,8 +135,10 @@ jobs:
$COMPILER -v
- name: Test help target
run: |
make help
run: make help
- name: Check git
run: git --version
# x86-32 tests