Skip to content

Commit 82f599a

Browse files
committed
_ci-linux-debian.sh: prepare for more conditional logic [ci skip]
1 parent 3818011 commit 82f599a

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

_ci-linux-debian.sh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,20 @@ fi
2222
[[ "${CW_CONFIG:-}" = *'boringssl'* ]] && extra+=' golang'
2323

2424
if [[ "${CW_CONFIG:-}" = *'win'* ]]; then
25-
extra+=' gcc-mingw-w64-x86-64-win32 wine64 wine'
26-
[[ "${CW_CONFIG:-}" = *'x86'* ]] && extra+=' gcc-mingw-w64-i686-win32 wine32'
25+
extra+=' gcc-mingw-w64-x86-64-win32'
26+
extra+=' wine64 wine'
27+
if [[ "${CW_CONFIG:-}" = *'x86'* ]]; then
28+
extra+=' gcc-mingw-w64-i686-win32'
29+
extra+=' wine32'
30+
fi
2731
# https://tracker.debian.org/pkg/osslsigncode
2832
extra+=' osslsigncode'
2933
if [[ "${CW_CONFIG:-}" = *'boringssl'* ]] || [[ "${CW_CONFIG:-}" = *'awslc'* ]]; then
30-
extra+=' g++-mingw-w64-x86-64-win32 nasm'
31-
[[ "${CW_CONFIG:-}" = *'x86'* ]] && extra+=' g++-mingw-w64-i686-win32'
34+
extra+=' g++-mingw-w64-x86-64-win32'
35+
extra+=' nasm'
36+
if [[ "${CW_CONFIG:-}" = *'x86'* ]]; then
37+
extra+=' g++-mingw-w64-i686-win32'
38+
fi
3239
fi
3340
extra+=' python3-pip python3-venv' # for pefile and libpsl
3441
[ -n "${DEPLOY_GPG_PASS:+1}" ] && extra+=' openssh-client'

0 commit comments

Comments
 (0)