Skip to content

Commit

Permalink
More hacking
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp committed May 11, 2023
1 parent 3b6d536 commit bbd743a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,23 @@ jobs:
steps:
- uses: actions/download-artifact@v3
- name: Verify files
run: ls -LR
run: |
ls -LR artifact
shell: bash
- name: Add Conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python_version }}
conda-build-version: ${{ env.conda_build_version }}

- name: Inspect Conda Environment
run: |
which python
conda list
conda info --all
- name: Test Install
- name: Install Artifact
run: |
which python
conda list
conda info --all
conda install --channel . simpleitk
conda index artifact
conda install --channel ./artifact simpleitk
- name: Test
run: |
python -c "import SimpleITK; print(SimpleITK.__version__)"
8 changes: 2 additions & 6 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ set CXXFLAGS=/MP
set CFLAGS=/MP

REM Configure Step
cmake -T "v141,host=x64" -G "Visual Studio 16 2019" ^
cmake -G Ninja ^
-D CMAKE_BUILD_TYPE:STRING=MinSizeRel ^
-D SimpleITK_BUILD_DISTRIBUTE:BOOL=ON ^
-D BUILD_SHARED_LIBS:BOOL=OFF ^
-D BUILD_TESTING:BOOL=OFF ^
Expand All @@ -24,11 +25,6 @@ cmake -T "v141,host=x64" -G "Visual Studio 16 2019" ^
-D ITK_USE_SYSTEM_TIFF:BOOL=ON ^
-D ITK_USE_SYSTEM_ZLIB:BOOL=ON ^
-D Module_ITKTBB:BOOL=ON ^
-D "CMAKE_FIND_ROOT_PATH:PATH=%PREFIX%" ^
-D "CMAKE_FIND_ROOT_PATH_MODE_INCLUDE:STRING=ONLY" ^
-D "CMAKE_FIND_ROOT_PATH_MODE_LIBRARY:STRING=ONLY" ^
-D "CMAKE_FIND_ROOT_PATH_MODE_PROGRAM:STRING=NEVER" ^
-D "CMAKE_FIND_ROOT_PATH_MODE_PACKAGE:STRING=ONLY" ^
-D "SWIG_EXECUTABLE:FILEPATH=%BUILD_PREFIX%\Library\bin\swig.exe" ^
-D "CMAKE_PROGRAM_PATH=%BUILD_PREFIX%" ^
-D "PYTHON_EXECUTABLE:FILEPATH=%PYTHON%" ^
Expand Down

0 comments on commit bbd743a

Please sign in to comment.