From 3a30b478d20c16a357d1e538f1ce9428e7285736 Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Fri, 9 Dec 2022 18:24:54 +0100 Subject: [PATCH] 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 --- .github/workflows/stockfish_arm_binaries.yml | 12 ++++++------ .github/workflows/stockfish_binaries.yml | 18 ++++++++---------- .github/workflows/stockfish_compile_test.yml | 14 +++++++------- .github/workflows/stockfish_sanitizers.yml | 12 ++++++------ .github/workflows/stockfish_test.yml | 9 +++++---- 5 files changed, 32 insertions(+), 33 deletions(-) diff --git a/.github/workflows/stockfish_arm_binaries.yml b/.github/workflows/stockfish_arm_binaries.yml index cf3ae710..ea738cef 100644 --- a/.github/workflows/stockfish_arm_binaries.yml +++ b/.github/workflows/stockfish_arm_binaries.yml @@ -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 diff --git a/.github/workflows/stockfish_binaries.yml b/.github/workflows/stockfish_binaries.yml index 5ba4784e..57535296 100644 --- a/.github/workflows/stockfish_binaries.yml +++ b/.github/workflows/stockfish_binaries.yml @@ -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 diff --git a/.github/workflows/stockfish_compile_test.yml b/.github/workflows/stockfish_compile_test.yml index 8467f52d..eeb4229c 100644 --- a/.github/workflows/stockfish_compile_test.yml +++ b/.github/workflows/stockfish_compile_test.yml @@ -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 diff --git a/.github/workflows/stockfish_sanitizers.yml b/.github/workflows/stockfish_sanitizers.yml index b74c2f97..fa679330 100644 --- a/.github/workflows/stockfish_sanitizers.yml +++ b/.github/workflows/stockfish_sanitizers.yml @@ -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 diff --git a/.github/workflows/stockfish_test.yml b/.github/workflows/stockfish_test.yml index 3cb89d39..953f6820 100644 --- a/.github/workflows/stockfish_test.yml +++ b/.github/workflows/stockfish_test.yml @@ -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 -- 2.39.2