diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 23505b3..e968ef0 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -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 @@ -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 diff --git a/recipe/bld.bat b/recipe/bld.bat index 7d35423..00547b4 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -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 ^