mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
Improve INSTALL_ARGS handling and update OpenSSL version (#22978)
This commit is contained in:
@@ -8,10 +8,10 @@
|
|||||||
# microsoft-build-tools
|
# microsoft-build-tools
|
||||||
# mysql
|
# mysql
|
||||||
|
|
||||||
INSTALL_ARGS=""
|
INSTALL_ARGS=()
|
||||||
|
|
||||||
if [[ $CONTINUOUS_INTEGRATION ]]; then
|
if [[ $CONTINUOUS_INTEGRATION ]]; then
|
||||||
INSTALL_ARGS=" --no-progress "
|
INSTALL_ARGS+=(--no-progress)
|
||||||
else
|
else
|
||||||
{ # try
|
{ # try
|
||||||
choco uninstall -y -n cmake.install cmake # needed to make sure that following install set the env properly
|
choco uninstall -y -n cmake.install cmake # needed to make sure that following install set the env properly
|
||||||
@@ -19,12 +19,12 @@ else
|
|||||||
echo "nothing to do"
|
echo "nothing to do"
|
||||||
}
|
}
|
||||||
|
|
||||||
choco install -y --skip-checksums $INSTALL_ARGS git visualstudio2022community
|
choco install -y --skip-checksums "${INSTALL_ARGS[@]}" git visualstudio2022community
|
||||||
fi
|
fi
|
||||||
|
|
||||||
choco install -y --skip-checksums $INSTALL_ARGS cmake.install -y --installargs 'ADD_CMAKE_TO_PATH=System'
|
choco install -y --skip-checksums "${INSTALL_ARGS[@]}" cmake.install -y --installargs 'ADD_CMAKE_TO_PATH=System'
|
||||||
choco install -y --skip-checksums $INSTALL_ARGS visualstudio2022-workload-nativedesktop
|
choco install -y --skip-checksums "${INSTALL_ARGS[@]}" visualstudio2022-workload-nativedesktop
|
||||||
choco install -y --skip-checksums $INSTALL_ARGS openssl --force --version=3.5.2
|
choco install -y --skip-checksums "${INSTALL_ARGS[@]}" openssl --force --version=3.5.3
|
||||||
choco install -y --skip-checksums $INSTALL_ARGS boost-msvc-14.3 --force --version=1.87.0
|
choco install -y --skip-checksums "${INSTALL_ARGS[@]}" boost-msvc-14.3 --force --version=1.87.0
|
||||||
choco install -y --skip-checksums $INSTALL_ARGS mysql --force --version=8.4.4
|
choco install -y --skip-checksums "${INSTALL_ARGS[@]}" mysql --force --version=8.4.4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user