mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Update GitHub workflows
- Use the latest version of the actions - Use commit hash for actions from little providers - Update Intel SDE to 9.27 closes https://github.com/official-stockfish/Stockfish/pull/4900 No functional change
This commit is contained in:
parent
8f65953583
commit
0ff2ea6549
9 changed files with 24 additions and 24 deletions
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
|
|
2
.github/workflows/stockfish.yml
vendored
2
.github/workflows/stockfish.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
echo "COMMIT_SHA=$(jq -r 'map(select(.prerelease)) | first | .tag_name' <<< $(curl -s https://api.github.com/repos/${{ github.repository_owner }}/Stockfish/releases))" >> $GITHUB_ENV
|
||||
|
||||
# delete old previous pre-release and tag
|
||||
- uses: dev-drprasad/delete-tag-and-release@v0.2.1
|
||||
- uses: dev-drprasad/delete-tag-and-release@8cd619d00037e4aeb781909c9a6b03940507d0da # @v1.0.1
|
||||
if: env.COMMIT_SHA != 'null'
|
||||
with:
|
||||
tag_name: ${{ env.COMMIT_SHA }}
|
||||
|
|
4
.github/workflows/stockfish_analyzers.yml
vendored
4
.github/workflows/stockfish_analyzers.yml
vendored
|
@ -11,12 +11,12 @@ jobs:
|
|||
shell: bash
|
||||
steps:
|
||||
- name: Checkout Stockfish
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: Stockfish
|
||||
|
||||
- name: Checkout include-what-you-use
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: include-what-you-use/include-what-you-use
|
||||
ref: f25caa280dc3277c4086ec345ad279a2463fea0f
|
||||
|
|
6
.github/workflows/stockfish_arm_binaries.yml
vendored
6
.github/workflows/stockfish_arm_binaries.yml
vendored
|
@ -46,7 +46,7 @@ jobs:
|
|||
working-directory: src
|
||||
shell: ${{ matrix.config.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -139,7 +139,7 @@ jobs:
|
|||
|
||||
- name: Release
|
||||
if: startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag'
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # @v1
|
||||
with:
|
||||
files: stockfish-android-${{ matrix.binaries }}.tar
|
||||
|
||||
|
@ -162,7 +162,7 @@ jobs:
|
|||
- name: Prerelease
|
||||
if: github.ref_name == 'master' && env.CHANGES == '0'
|
||||
continue-on-error: true
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # @v1
|
||||
with:
|
||||
name: Stockfish dev-${{ env.COMMIT_DATE }}-${{ env.COMMIT_SHA }}
|
||||
tag_name: stockfish-dev-${{ env.COMMIT_DATE }}-${{ env.COMMIT_SHA }}
|
||||
|
|
16
.github/workflows/stockfish_binaries.yml
vendored
16
.github/workflows/stockfish_binaries.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
comp: gcc
|
||||
shell: bash
|
||||
archive_ext: tar
|
||||
sde: /home/runner/work/Stockfish/Stockfish/.output/sde-temp-files/sde-external-9.14.0-2022-10-25-lin/sde -future --
|
||||
sde: /home/runner/work/Stockfish/Stockfish/.output/sde-temp-files/sde-external-9.27.0-2023-09-13-lin/sde -future --
|
||||
- name: MacOS 13 Apple Clang
|
||||
os: macos-13
|
||||
simple_name: macos
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
msys_env: x86_64-gcc
|
||||
shell: msys2 {0}
|
||||
ext: .exe
|
||||
sde: /d/a/Stockfish/Stockfish/.output/sde-temp-files/sde-external-9.14.0-2022-10-25-win/sde.exe -future --
|
||||
sde: /d/a/Stockfish/Stockfish/.output/sde-temp-files/sde-external-9.27.0-2023-09-13-win/sde.exe -future --
|
||||
archive_ext: zip
|
||||
binaries:
|
||||
- x86-64
|
||||
|
@ -67,7 +67,7 @@ jobs:
|
|||
working-directory: src
|
||||
shell: ${{ matrix.config.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -77,7 +77,7 @@ jobs:
|
|||
|
||||
- name: Install fixed GCC on Linux
|
||||
if: runner.os == 'Linux'
|
||||
uses: egor-tensin/setup-gcc@v1
|
||||
uses: egor-tensin/setup-gcc@eaa888eb19115a521fa72b65cd94fe1f25bbcaac # @v1.3
|
||||
with:
|
||||
version: 11
|
||||
|
||||
|
@ -90,10 +90,10 @@ jobs:
|
|||
|
||||
- name: Download SDE package
|
||||
if: runner.os == 'Linux' || runner.os == 'Windows'
|
||||
uses: petarpetrovt/setup-sde@6f4926100f31791716b11d25c0f3f35809d44f84
|
||||
uses: petarpetrovt/setup-sde@91a1a03434384e064706634125a15f7446d2aafb # @v2.3
|
||||
with:
|
||||
environmentVariableName: SDE_DIR
|
||||
sdeVersion: 9.14.0
|
||||
sdeVersion: 9.27.0
|
||||
|
||||
- name: Download the used network from the fishtest framework
|
||||
run: make net
|
||||
|
@ -183,7 +183,7 @@ jobs:
|
|||
|
||||
- name: Release
|
||||
if: startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag'
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # @v1
|
||||
with:
|
||||
files: stockfish-${{ matrix.config.simple_name }}-${{ matrix.binaries }}.${{ matrix.config.archive_ext }}
|
||||
|
||||
|
@ -206,7 +206,7 @@ jobs:
|
|||
- name: Prerelease
|
||||
if: github.ref_name == 'master' && env.CHANGES == '0'
|
||||
continue-on-error: true
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # @v1
|
||||
with:
|
||||
name: Stockfish dev-${{ env.COMMIT_DATE }}-${{ env.COMMIT_SHA }}
|
||||
tag_name: stockfish-dev-${{ env.COMMIT_DATE }}-${{ env.COMMIT_SHA }}
|
||||
|
|
2
.github/workflows/stockfish_compile_test.yml
vendored
2
.github/workflows/stockfish_compile_test.yml
vendored
|
@ -51,7 +51,7 @@ jobs:
|
|||
working-directory: src
|
||||
shell: ${{ matrix.config.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup msys and install required packages
|
||||
if: runner.os == 'Windows'
|
||||
|
|
8
.github/workflows/stockfish_format_check.yml
vendored
8
.github/workflows/stockfish_format_check.yml
vendored
|
@ -16,12 +16,12 @@ jobs:
|
|||
name: clang-format check
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Run clang-format style check
|
||||
uses: jidicula/clang-format-action@f62da5e3d3a2d88ff364771d9d938773a618ab5e
|
||||
uses: jidicula/clang-format-action@f62da5e3d3a2d88ff364771d9d938773a618ab5e # @v4.11.0
|
||||
id: clang-format
|
||||
continue-on-error: true
|
||||
with:
|
||||
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
- name: Comment on PR
|
||||
if: steps.clang-format.outcome == 'failure'
|
||||
uses: thollander/actions-comment-pull-request@1d3973dc4b8e1399c0620d3f2b1aa5e795465308
|
||||
uses: thollander/actions-comment-pull-request@1d3973dc4b8e1399c0620d3f2b1aa5e795465308 # @v2.4.3
|
||||
with:
|
||||
message: |
|
||||
clang-format 17 needs to be run on this PR.
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
|
||||
- name: Comment on PR
|
||||
if: steps.clang-format.outcome != 'failure'
|
||||
uses: thollander/actions-comment-pull-request@1d3973dc4b8e1399c0620d3f2b1aa5e795465308
|
||||
uses: thollander/actions-comment-pull-request@1d3973dc4b8e1399c0620d3f2b1aa5e795465308 # @v2.4.3
|
||||
with:
|
||||
message: |
|
||||
_(execution **${{ github.run_id }}** / attempt **${{ github.run_attempt }}**)_
|
||||
|
|
2
.github/workflows/stockfish_sanitizers.yml
vendored
2
.github/workflows/stockfish_sanitizers.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
working-directory: src
|
||||
shell: ${{ matrix.config.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Download required linux packages
|
||||
run: |
|
||||
|
|
6
.github/workflows/stockfish_test.yml
vendored
6
.github/workflows/stockfish_test.yml
vendored
|
@ -95,7 +95,7 @@ jobs:
|
|||
working-directory: src
|
||||
shell: ${{ matrix.config.shell }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -121,11 +121,11 @@ jobs:
|
|||
|
||||
- name: Set up QEMU
|
||||
if: matrix.config.base_image
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
if: matrix.config.base_image
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build Docker container
|
||||
if: matrix.config.base_image
|
||||
|
|
Loading…
Add table
Reference in a new issue