]> git.sesse.net Git - stockfish/commitdiff
CI workflows, install git on windows
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 9 Dec 2022 17:24:54 +0000 (18:24 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 9 Dec 2022 21:58:22 +0000 (22:58 +0100)
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
.github/workflows/stockfish_binaries.yml
.github/workflows/stockfish_compile_test.yml
.github/workflows/stockfish_sanitizers.yml
.github/workflows/stockfish_test.yml

index cf3ae710091c10d21b67a4586d05caaecf51d913..ea738cef66fa46e4ed72200d41821f6b9d76b43b 100644 (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
index 5ba4784e318107a8d441aede43f134f94a4fe05e..575352966874e55dbe47b9d166d06640211c61d7 100644 (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
index 8467f52d964daf384884d2d6942dcfaa832e075d..eeb4229cbd37d8792868bb5c361b3b43b2851309 100644 (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
 
index b74c2f970e066dfc3db9f8866315bdf7d716bd48..fa679330d8ebb664494e06d0e8ed30cffa2ef93b 100644 (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
 
index 3cb89d39f334102cdb419e608772633011efcc2c..953f68205bc28e5baef51d77be59ee2b57441876 100644 (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