feat(CORE/bash): implemented acore dashboard for Windows (#13476)

+ implemented acore dashboard for windows
+ integrated acore dashboard for windows in our pipeline
+ implemented dry run for windows build
+ fixed permissions issue for all the operating systems
+ code clean
This commit is contained in:
Yehonal
2022-10-22 15:40:13 +02:00
committed by GitHub
parent b35c907cde
commit 171df31196
8 changed files with 130 additions and 54 deletions

View File

@@ -1,6 +1,3 @@
echo "WARNING: Installer Script for Windows is not fully supported yet. Work in progress.."
echo "!!README!!: Please install openssl and mysql libraries manually following our wiki"
# install chocolatey before
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
@@ -9,9 +6,24 @@ echo "!!README!!: Please install openssl and mysql libraries manually following
# cmake
# git
# microsoft-build-tools
# mysql 5.6
# mysql
choco install -y --skip-checksums cmake git git.install microsoft-build-tools ccache
choco install -y --skip-checksums mysql --version 5.6.12
INSTALL_ARGS=""
if [[ $CONTINUOUS_INTEGRATION ]]; then
INSTALL_ARGS=" --no-progress "
else
{ # try
choco uninstall -y -n cmake.install cmake # needed to make sure that following install set the env properly
} || { # catch
echo "nothing to do"
}
choco install -y --skip-checksums $INSTALL_ARGS git visualstudio2022community
fi
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 boost-msvc-14.3 --version=1.79.0
choco install -y --skip-checksums $INSTALL_ARGS mysql --version 8.0.31
echo "!!README!!: Please remember to install openssl and mysql libraries manually following our wiki"