Skip to content

Commit 35d7ded

Browse files
authored
Merge pull request #611 from k-dominik/fix-win-ci
Fix windows CI
2 parents 1c09a82 + bb2fb7c commit 35d7ded

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
bash ci/build_unix.sh
4545
- job: Windows
4646
pool:
47-
vmImage: windows-2019
47+
vmImage: windows-2022
4848
strategy:
4949
matrix:
5050
windows_py310:

ci/build_unix.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ set -ex
22

33
PYTHON_VERSION="${PYTHON_VERSION:-3.10}"
44

5-
conda config --add channels conda-forge
6-
conda config --remove channels defaults || true
75
conda config --show
86
conda create \
97
--quiet --yes \
8+
--override-channels \
9+
-c conda-forge -c nodefaults \
1010
--name vigra \
1111
python=${PYTHON_VERSION} pytest c-compiler cxx-compiler \
1212
zlib libjpeg-turbo libpng libtiff hdf5 fftw \
13-
boost boost-cpp numpy h5py sphinx \
13+
libboost-python libboost-python-devel numpy h5py sphinx \
1414
openexr lemon cmake make ruff
1515

1616
if [[ `uname` == 'Darwin' ]]; then

ci/build_windows.bat

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@
22
call conda info
33
if errorlevel 1 exit 1
44

5-
call conda config --add channels conda-forge
6-
if errorlevel 1 exit 1
7-
call conda config --remove channels defaults || true
8-
if errorlevel 1 exit 1
95
call conda config --show
106
if errorlevel 1 exit 1
117

128
call conda create ^
9+
--override-channels ^
10+
-c conda-forge ^
11+
-c nodefaults ^
1312
--quiet --yes ^
1413
--name vigra ^
1514
python=%PYTHON_VERSION% pytest c-compiler cxx-compiler ^
1615
zlib libjpeg-turbo libpng libtiff hdf5 fftw cmake ninja ^
17-
boost boost-cpp numpy h5py sphinx ^
16+
libboost-python libboost-python-devel numpy h5py sphinx ^
1817
openexr lemon
1918

2019
if errorlevel 1 exit 1

0 commit comments

Comments
 (0)