mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Compress Linux universal release package
`stockfish-ubuntu-x86-64-universal.tar` goes from 94.8MiB to 67.4MiB (tar.gz) Note that the CI code is written such that it easy to select other compression schemes in the future (e.g. tar.xz) by simply changing the `archive_ext` parameter. closes https://github.com/official-stockfish/Stockfish/pull/6746 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
20a8d8d3c0
commit
9dd58542c9
@@ -59,13 +59,13 @@ jobs:
|
||||
cp CONTRIBUTING.md ../stockfish/
|
||||
|
||||
- name: Create tar
|
||||
if: ${{ !startsWith(matrix.config.os, 'windows') }}
|
||||
if: ${{ startsWith(matrix.config.archive_ext, 'tar') }}
|
||||
run: |
|
||||
chmod +x ./stockfish/stockfish-$NAME-$BINARY$EXT
|
||||
tar -cvf stockfish-$NAME-$BINARY.tar stockfish
|
||||
tar -cavf stockfish-$NAME-$BINARY."${{ matrix.config.archive_ext }}" stockfish
|
||||
|
||||
- name: Create zip
|
||||
if: ${{ startsWith(matrix.config.os, 'windows') }}
|
||||
if: ${{ matrix.config.archive_ext == 'zip' }}
|
||||
run: |
|
||||
zip -r stockfish-$NAME-$BINARY.zip stockfish
|
||||
|
||||
|
||||
Reference in New Issue
Block a user