Skip to content

Commit 232bd3e

Browse files
committed
[skip travis] Upgrade AppVeyor config
1 parent df59d53 commit 232bd3e

File tree

5 files changed

+17
-38
lines changed

5 files changed

+17
-38
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ matrix:
66
os: linux
77
sudo: required
88
env:
9-
- DOCKER_IMAGE=pmeira/manylinux_wheel_cmake_fpc
9+
- DOCKER_IMAGE=pmeira/manylinux_wheel_cmake_fpc320
1010
- DSS_CAPI_TAG=0.10.7rc1
1111
- LINUX_X64=1
1212
- CONDA_SUBDIR=linux-64
@@ -31,7 +31,7 @@ matrix:
3131
os: linux
3232
sudo: required
3333
env:
34-
- DOCKER_IMAGE=pmeira/manylinux_wheel_cmake_fpc_i686
34+
- DOCKER_IMAGE=pmeira/manylinux_wheel_cmake_fpc320_i686
3535
- DSS_CAPI_TAG=0.10.7rc1
3636
- CONDA_SUBDIR=linux-32
3737
services:

appveyor.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
version: '{build}'
22
skip_non_tags: false
3-
image: Visual Studio 2017
3+
image: Visual Studio 2019
44
clone_folder: c:\projects\dss_python
5-
cache:
6-
- c:\projects\VCForPython27.msi
75
environment:
86
DSS_CAPI_TAG: 0.10.7rc1
97
DSS_CAPI_PATH: c:\projects\dss_capi

ci/build_appveyor.bat

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,25 @@ set originalpath=%path%
1717
IF "%CONDA_SUBDIR%"=="win-32" (
1818
SET MINICONDA_DIR=c:\miniconda3
1919
appveyor downloadfile https://github.com/dss-extensions/dss_capi/releases/download/%DSS_CAPI_TAG%/dss_capi_%DSS_CAPI_TAG%_win_x86.zip -FileName dss_capi.zip
20+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
2021
)
2122
IF "%CONDA_SUBDIR%"=="win-64" (
2223
SET MINICONDA_DIR=c:\miniconda3-x64
2324
appveyor downloadfile https://github.com/dss-extensions/dss_capi/releases/download/%DSS_CAPI_TAG%/dss_capi_%DSS_CAPI_TAG%_win_x64.zip -FileName dss_capi.zip
25+
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
2426
)
2527
7z x -y -oC:\projects\ dss_capi.zip
2628

27-
set path=c:\cygwin64\bin;c:\cygwin64\usr\bin;c:\FPC\3.0.4\bin\i386-win32;c:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin;%MINICONDA_DIR%;%MINICONDA_DIR%\scripts;%originalpath%
29+
30+
set originalpath2=%path%
31+
32+
set path=c:\cygwin64\bin;c:\cygwin64\usr\bin;%MINICONDA_DIR%;%MINICONDA_DIR%\scripts;%originalpath2%
2833

2934
c:\cygwin64\bin\bash ci/build_windows.sh
3035

3136
echo POST c:\cygwin64\bin\bash ci/build_windows.sh
3237

33-
set path=c:\FPC\3.0.4\bin\i386-win32;c:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin;%MINICONDA_DIR%;%MINICONDA_DIR%\scripts;%originalpath%
38+
set path=%MINICONDA_DIR%;%MINICONDA_DIR%\scripts;%originalpath%
3439

3540
call %MINICONDA_DIR%\scripts\activate %MINICONDA_DIR%
3641

@@ -42,7 +47,7 @@ REM IF "%DSS_PYTHON_BUILD_TAG%"=="1" conda-build --quiet --no-test --output-fold
4247

4348
REM echo CONDA-BUILD CALLED
4449

45-
set path=c:\cygwin64\bin;c:\cygwin64\usr\bin;c:\FPC\3.0.4\bin\i386-win32;c:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin;%MINICONDA_DIR%;%MINICONDA_DIR%\scripts;%originalpath%
50+
set path=c:\cygwin64\bin;c:\cygwin64\usr\bin;%MINICONDA_DIR%;%MINICONDA_DIR%\scripts;%originalpath2%
4651

4752
c:\cygwin64\bin\bash ci/upload_windows.sh
4853

ci/build_windows.sh

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ ln -s /cygdrive/c /c
88
cd ..
99
export ARTIFACTS_FOLDER=`cygpath -a -w ./artifacts`
1010

11-
export PATH="$PATH:/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin"
12-
1311
BUILD_WHEELS=1
1412
if [ "$BUILD_WHEELS" == "1" ]; then
1513
# conda-build with wheels doesn't seem consistent so
@@ -18,16 +16,16 @@ if [ "$BUILD_WHEELS" == "1" ]; then
1816
# Use the official Python already installed in AppVeyor
1917
cd dss_python
2018

21-
# Python 27 is kept last since we rebuild klusolve for it
2219
if [ "$CONDA_SUBDIR" == "win-32" ]; then
23-
PYTHON_VERSIONS="35 36 37 38"
20+
PYTHON_VERSIONS="39 38 35 36 37"
2421
else
25-
PYTHON_VERSIONS="35-x64 36-x64 37-x64 38-x64"
22+
PYTHON_VERSIONS="39-x64 38-x64 35-x64 36-x64 37-x64"
2623
fi
2724

2825
for A in $PYTHON_VERSIONS
2926
do
3027
echo Building for Python $A $CONDA_SUBDIR...
28+
c:/Python${A}/python -m pip install --upgrade pip
3129
c:/Python${A}/scripts/pip install cffi wheel
3230
rm -rf .eggs build
3331
c:/Python${A}/python setup.py --quiet bdist_wheel --dist-dir="$ARTIFACTS_FOLDER"
@@ -82,27 +80,5 @@ else
8280
# conda install -q conda-build=3.10.9
8381
fi # BUILD_WHEELS
8482

85-
# # Build conda packages
86-
# export CONDA_SUBDIR=win-32
87-
# conda-build --quiet --no-test --output-folder "$ARTIFACTS_FOLDER" conda
88-
# export CONDA_SUBDIR=win-64
89-
# conda-build --quiet --no-test --output-folder "$ARTIFACTS_FOLDER" conda
90-
91-
# # # Build wheels with conda
92-
# # # (if we keep the output section always, the default package
93-
# # # is ignored, uses wrong names, etc.)
94-
# # rm -rf conda_wheels
95-
# # cp -R conda conda_wheels
96-
# # cat conda/meta_wheels.yaml >> conda_wheels/meta.yaml
97-
# # export CONDA_SUBDIR=win-32
98-
# # conda-build --output-folder ../artifacts conda_wheels
99-
# # export CONDA_SUBDIR=win-64
100-
# # conda-build --output-folder ../artifacts conda_wheels
101-
102-
# # # undo the change, just in case
103-
# # git checkout conda/meta.yaml
104-
105-
# if [ -n "$ANACONDA_API_TOKEN" ]; then
106-
# echo Upload artifacts to anaconda.org...
107-
# find ../artifacts -name "*.whl" -or -name "*.tar.bz2" | xargs -I {} anaconda upload --no-progress -l main -u pmeira {}
108-
# fi
83+
# Build conda packages
84+
conda-build --quiet --no-test --output-folder "$ARTIFACTS_FOLDER" conda

dss/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
from .v7 import *
77
from .patch_dss_com import patch_dss_com
88

9-
__version__ = '0.10.7rc1'
9+
__version__ = '0.10.7rc2'

0 commit comments

Comments
 (0)