mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
chore(CI): Update deps for Windows and Mac builds (#17252)
* chore(CI): Update deps for Windows and Mac builds * Update windows.sh * Update windows.sh
This commit is contained in:
2
.github/workflows/windows_build.yml
vendored
2
.github/workflows/windows_build.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
BOOST_ROOT: C:\local\boost_1_79_0
|
BOOST_ROOT: C:\local\boost_1_82_0
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'azerothcore/azerothcore-wotlk'
|
github.repository == 'azerothcore/azerothcore-wotlk'
|
||||||
&& !github.event.pull_request.draft
|
&& !github.event.pull_request.draft
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ function comp_configure() {
|
|||||||
echo "Platform: $OSTYPE"
|
echo "Platform: $OSTYPE"
|
||||||
case "$OSTYPE" in
|
case "$OSTYPE" in
|
||||||
darwin*)
|
darwin*)
|
||||||
OSOPTIONS=" -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include -DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@1.1/include -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl@1.1/lib/libssl.dylib -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl@1.1/lib/libcrypto.dylib "
|
OSOPTIONS=" -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include -DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient.dylib -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@3/include -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl@3/lib/libssl.dylib -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl@3/lib/libcrypto.dylib "
|
||||||
;;
|
;;
|
||||||
msys*)
|
msys*)
|
||||||
OSOPTIONS=" -DMYSQL_INCLUDE_DIR=C:\tools\mysql\current\include -DMYSQL_LIBRARY=C:\tools\mysql\current\lib\mysqlclient.lib "
|
OSOPTIONS=" -DMYSQL_INCLUDE_DIR=C:\tools\mysql\current\include -DMYSQL_LIBRARY=C:\tools\mysql\current\lib\mysqlclient.lib "
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ if ! command -v cmake &>/dev/null ; then
|
|||||||
fi
|
fi
|
||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
brew install openssl@3 readline boost bash-completion curl unzip mysql ccache
|
brew install openssl@3 readline boost@1.82 bash-completion curl unzip mysql@8.1 ccache
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ else
|
|||||||
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 openssl
|
choco install -y --skip-checksums $INSTALL_ARGS visualstudio2022-workload-nativedesktop
|
||||||
choco install -y --skip-checksums $INSTALL_ARGS boost-msvc-14.3 --version=1.79.0
|
choco install -y --skip-checksums $INSTALL_ARGS openssl --version=3.1.1
|
||||||
choco install -y --skip-checksums $INSTALL_ARGS mysql --version 8.0.31
|
choco install -y --skip-checksums $INSTALL_ARGS boost-msvc-14.3 --version=1.82.0
|
||||||
|
choco install -y --skip-checksums $INSTALL_ARGS mysql --version=8.0.31
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user