Skip to content

Commit

Permalink
Update windows build image to windows-2019
Browse files Browse the repository at this point in the history
Explictily set VS 2019 with v141 to build for github actions.

Update conda version used.
  • Loading branch information
blowekamp committed Apr 7, 2022
1 parent d953088 commit 8d431d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
workflow_dispatch:

env:
conda_version: 4.10.3
conda_build_version: 3.21.7
conda_version: 4.12.0
conda_build_version: 3.21.8
jobs:
set-anaconda-tag:
runs-on: ubuntu-latest
Expand All @@ -34,7 +34,7 @@ jobs:
strategy:
matrix:
python_version: ['3.7', '3.8', '3.9', '3.10']
runs-on: windows-2016
runs-on: windows-2019

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set CXXFLAGS=/MP
set CFLAGS=/MP

REM Configure Step
cmake -T "host=x64" -G "%CMAKE_GENERATOR%" ^
cmake -T "v141,host=x64" -G "Visual Studio 16 2019" ^
-D SimpleITK_BUILD_DISTRIBUTE:BOOL=ON ^
-D BUILD_SHARED_LIBS:BOOL=OFF ^
-D BUILD_TESTING:BOOL=OFF ^
Expand Down

0 comments on commit 8d431d4

Please sign in to comment.