1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/.github/workflows
MinetaS 1b310cc87e Export and clean up net downloading script
Fixes https://github.com/official-stockfish/Stockfish/issues/5564

This patch extracts the net downloading script in Makefile into an
external script file. Also the script is moderately rewritten for
improved readability and speed.

* Use wget preferentially over curl, as curl is known to have slight
  overhead.
* Use command instead of hash to check if command exists. Reportedly,
  hash always returns zero in some POSIX shells even when the command
  fails.
* Command existence checks (wget/curl, sha256sum) are performed only
  once at the beginning.
* Each of common patterns is encapsulated in a function
  (get_nnue_filename, validate_network).
* Print out error/warning messages to stderr.

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

No functional change

Co-authored-by: Disservin <disservin.social@gmail.com>
2024-09-09 18:02:27 +02:00
..
arm_compilation.yml CI: limit artifact uploads 2024-07-03 13:45:14 +02:00
clang-format.yml CI give correct permissions for the clang-format action 2024-07-11 07:21:04 +02:00
codeql.yml CI: limit artifact uploads 2024-07-03 13:45:14 +02:00
compilation.yml CI: limit artifact uploads 2024-07-03 13:45:14 +02:00
games.yml CI: limit artifact uploads 2024-07-03 13:45:14 +02:00
iwyu.yml CI: limit artifact uploads 2024-07-03 13:45:14 +02:00
matetrack.yml Enable syzygy in the matetrack action 2024-07-23 17:49:07 +02:00
sanitizers.yml CI: limit artifact uploads 2024-07-03 13:45:14 +02:00
stockfish.yml Use explicit action permissions in CI 2024-07-05 15:35:13 +02:00
tests.yml Export and clean up net downloading script 2024-09-09 18:02:27 +02:00
upload_binaries.yml Copy scripts directory in distributed packages 2024-09-09 17:54:27 +02:00