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 22:58:22 +01:00
parent aedf0251e6
commit 3a30b478d2
5 changed files with 32 additions and 33 deletions
+6 -6
View File
@@ -58,8 +58,7 @@ jobs:
sudo apt install qemu-user sudo apt install qemu-user
- name: Download the used network from the fishtest framework - name: Download the used network from the fishtest framework
run: | run: make net
make net
- name: Check compiler - name: Check compiler
run: | run: |
@@ -74,8 +73,10 @@ jobs:
$COMPILER -v $COMPILER -v
- name: Test help target - name: Test help target
run: | run: make help
make help
- name: Check git
run: git --version
# Compile profile guided builds # Compile profile guided builds
@@ -113,5 +114,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: stockfish-android-${{ matrix.binaries }} name: stockfish-android-${{ matrix.binaries }}
path: | path: stockfish-android-${{ matrix.binaries }}.tar
stockfish-android-${{ matrix.binaries }}.tar
+8 -10
View File
@@ -56,8 +56,7 @@ jobs:
- name: Download required linux packages - name: Download required linux packages
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: | run: sudo apt update
sudo apt update
- name: Setup msys and install required packages - name: Setup msys and install required packages
if: runner.os == 'Windows' if: runner.os == 'Windows'
@@ -67,16 +66,16 @@ jobs:
install: mingw-w64-${{ matrix.config.msys_env }} make git install: mingw-w64-${{ matrix.config.msys_env }} make git
- name: Download the used network from the fishtest framework - name: Download the used network from the fishtest framework
run: | run: make net
make net
- name: Check compiler - name: Check compiler
run: | run: $COMPILER -v
$COMPILER -v
- name: Test help target - name: Test help target
run: | run: make help
make help
- name: Check git
run: git --version
# Compile profile guided builds # Compile profile guided builds
@@ -105,5 +104,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: stockfish-${{ matrix.config.os }}-${{ matrix.binaries }} name: stockfish-${{ matrix.config.os }}-${{ matrix.binaries }}
path: | path: stockfish-${{ matrix.config.os }}-${{ matrix.binaries }}.tar
stockfish-${{ matrix.config.os }}-${{ matrix.binaries }}.tar
+7 -7
View File
@@ -72,19 +72,19 @@ jobs:
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with:
msystem: ${{matrix.config.msys_sys}} 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 - name: Download the used network from the fishtest framework
run: | run: make net
make net
- name: Check compiler - name: Check compiler
run: | run: $COMPILER -v
$COMPILER -v
- name: Test help target - name: Test help target
run: | run: make help
make help
- name: Check git
run: git --version
# x86-64 with newer extensions tests # x86-64 with newer extensions tests
+6 -6
View File
@@ -55,16 +55,16 @@ jobs:
sudo apt install expect valgrind g++-multilib sudo apt install expect valgrind g++-multilib
- name: Download the used network from the fishtest framework - name: Download the used network from the fishtest framework
run: | run: make net
make net
- name: Check compiler - name: Check compiler
run: | run: $COMPILER -v
$COMPILER -v
- name: Test help target - name: Test help target
run: | run: make help
make help
- name: Check git
run: git --version
# Sanitizers # Sanitizers
+5 -4
View File
@@ -115,8 +115,7 @@ jobs:
install: mingw-w64-${{ matrix.config.msys_env }} make git expect install: mingw-w64-${{ matrix.config.msys_env }} make git expect
- name: Download the used network from the fishtest framework - name: Download the used network from the fishtest framework
run: | run: make net
make net
- name: Extract the bench number from the commit history - name: Extract the bench number from the commit history
run: | run: |
@@ -136,8 +135,10 @@ jobs:
$COMPILER -v $COMPILER -v
- name: Test help target - name: Test help target
run: | run: make help
make help
- name: Check git
run: git --version
# x86-32 tests # x86-32 tests