Skip to content

Commit 3eaf921

Browse files
committed
Fix 32 bit appveyor
1 parent 4e85a86 commit 3eaf921

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

appveyor.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ environment:
77
PLATFORMTOOLSET: "v140"
88

99
matrix:
10+
- BUILD_TYPE: "Release"
11+
COMPILER: MSVC15
12+
PLATFORM: "Win32"
13+
PYTHON_VERSION: 39
14+
CONDA_INSTALL_LOCN: C:\\Miniconda38-x64
15+
WITH_MPFR: yes
16+
WITH_MPC: yes
1017
- BUILD_TYPE: "Release"
1118
COMPILER: MSVC15
1219
PLATFORM: "x64"
@@ -42,13 +49,6 @@ environment:
4249
# COMPILER: MinGW-w64
4350
# PYTHON_VERSION: 39-x64
4451
# WITH_SYMPY: no
45-
- BUILD_TYPE: "Release"
46-
COMPILER: MSVC15
47-
PLATFORM: "Win32"
48-
PYTHON_VERSION: 39
49-
CONDA_INSTALL_LOCN: C:\\Miniconda38
50-
WITH_MPFR: yes
51-
WITH_MPC: yes
5252
- BUILD_TYPE: "Release"
5353
COMPILER: MSVC15
5454
PLATFORM: "x64"
@@ -61,15 +61,17 @@ environment:
6161
install:
6262
- set PYTHON_SOURCE_DIR=%CD%
6363
- git clone https://github.com/sympy/symengine symengine-cpp
64+
- if [%PLATFORM%]==[Win32] set "CONDA_SUBDIR=win-32"
6465

6566
- if [%COMPILER%]==[MSVC15] call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
66-
- if [%COMPILER%]==[MSVC15] conda config --add channels conda-forge
67-
- if [%COMPILER%]==[MSVC15] if [%BUILD_TYPE%]==[Debug] conda config --add channels symengine/label/debug
6867
- if [%COMPILER%]==[MSVC15] set "CONDA_DEPS=mpir=3.0.0 vc=14"
6968
- if [%COMPILER%]==[MSVC15] if [%WITH_MPFR%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% mpfr=3.1.5"
7069
- if [%COMPILER%]==[MSVC15] if [%WITH_MPC%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% mpc=1.0.3"
7170
- if [%COMPILER%]==[MSVC15] if [%WITH_LLVM%]==[yes] set "CONDA_DEPS=%CONDA_DEPS% llvmdev=4.0"
72-
- if [%COMPILER%]==[MSVC15] conda install --yes %CONDA_DEPS%
71+
- if [%COMPILER%]==[MSVC15] set "CONDA_DEPS=%CONDA_DEPS% -c conda-forge"
72+
- if [%COMPILER%]==[MSVC15] if [%BUILD_TYPE%]==[Debug] set "CONDA_DEPS=%CONDA_DEPS% -c symengine/label/debug"
73+
- if [%COMPILER%]==[MSVC15] conda create -n deps --yes %CONDA_DEPS%
74+
- if [%COMPILER%]==[MSVC15] call conda activate deps
7375
- if [%COMPILER%]==[MSVC15] echo %CONDA_PREFIX%
7476
- if [%COMPILER%]==[MSVC15] echo %PATH%
7577
- if [%COMPILER%]==[MSVC15] set "PATH=%PATH%;%CONDA_PREFIX%\\Library\\bin;%CONDA_PREFIX%"

0 commit comments

Comments
 (0)