Skip to content

Commit

Permalink
CI workflows, install git on windows
Browse files Browse the repository at this point in the history
ensures the SF dev version is reported correctly

closes #4272

No functional change
  • Loading branch information
vondele committed Dec 9, 2022
1 parent aedf025 commit 3a30b47
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 33 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/stockfish_arm_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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

Expand Down Expand Up @@ -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
18 changes: 8 additions & 10 deletions .github/workflows/stockfish_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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

Expand Down Expand Up @@ -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
14 changes: 7 additions & 7 deletions .github/workflows/stockfish_compile_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/stockfish_sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/stockfish_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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

Expand Down

0 comments on commit 3a30b47

Please sign in to comment.