Fix Azure CI x86 problems. (#350)

This commit is contained in:
Eugene Kabanov 2020-09-03 20:13:37 +03:00 committed by GitHub
parent cd1c68dbc5
commit c0bc73ddac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -88,6 +88,13 @@ steps:
[[ -z "$ncpu" || $ncpu -le 0 ]] && ncpu=2 [[ -z "$ncpu" || $ncpu -le 0 ]] && ncpu=2
echo "Found ${ncpu} cores" echo "Found ${ncpu} cores"
if [[ $PLATFORM == "x86" ]]; then
choco --version
choco install --x86 openssl
export PATH="/c/Program Files (x86)/OpenSSL-Win32/bin:${PATH}"
echo "PATH=${PATH}"
fi
# build nim from our own branch - this to avoid the day-to-day churn and # build nim from our own branch - this to avoid the day-to-day churn and
# regressions of the fast-paced Nim development while maintaining the # regressions of the fast-paced Nim development while maintaining the
# flexibility to apply patches # flexibility to apply patches