1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00
BadFish/.github/workflows
ppigazzini 9a2d50eccc Make posix and msys2 shells consistent in CI
In CI, it is typical for the process to halt immediately when an error
is encountered. However, with our `shell: bash {0}` configuration,
the process continues despite errors for posix shells.
This commit updates the behavior of posix and msys2 shells to ensure
consistency in terms of pipeline exit codes and stop conditions.
We adopt the most appropriate default behavior as recommended
by the GitHub documentation.

Update the code that searches for the bench value in the git log:
- to be compatible with the new shell settings
- to retry the value from the first line that contains
  only the template and spaces/tabs/newlines

see also

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
https://github.com/msys2/setup-msys2/blob/main/main.js

closes https://github.com/official-stockfish/Stockfish/pull/4653

No functional change
2023-07-02 10:32:36 +02:00
..
stockfish.yml Fix failing CI of pull requests 2023-06-20 18:50:12 +02:00
stockfish_arm_binaries.yml Make posix and msys2 shells consistent in CI 2023-07-02 10:32:36 +02:00
stockfish_binaries.yml Make posix and msys2 shells consistent in CI 2023-07-02 10:32:36 +02:00
stockfish_compile_test.yml Make posix and msys2 shells consistent in CI 2023-07-02 10:32:36 +02:00
stockfish_sanitizers.yml Make posix and msys2 shells consistent in CI 2023-07-02 10:32:36 +02:00
stockfish_test.yml Make posix and msys2 shells consistent in CI 2023-07-02 10:32:36 +02:00