Skip to content

Commit bbd743a

Browse files
committed
More hacking
1 parent 3b6d536 commit bbd743a

2 files changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,23 @@ jobs:
6868
steps:
6969
- uses: actions/download-artifact@v3
7070
- name: Verify files
71-
run: ls -LR
71+
run: |
72+
ls -LR artifact
73+
shell: bash
7274
- name: Add Conda
7375
uses: conda-incubator/setup-miniconda@v2
7476
with:
7577
auto-update-conda: true
7678
python-version: ${{ matrix.python_version }}
7779
conda-build-version: ${{ env.conda_build_version }}
7880

79-
- name: Inspect Conda Environment
80-
run: |
81-
which python
82-
conda list
83-
conda info --all
84-
- name: Test Install
81+
- name: Install Artifact
8582
run: |
83+
which python
8684
conda list
8785
conda info --all
88-
conda install --channel . simpleitk
86+
conda index artifact
87+
conda install --channel ./artifact simpleitk
88+
- name: Test
89+
run: |
90+
python -c "import SimpleITK; print(SimpleITK.__version__)"

recipe/bld.bat

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ set CXXFLAGS=/MP
1010
set CFLAGS=/MP
1111

1212
REM Configure Step
13-
cmake -T "v141,host=x64" -G "Visual Studio 16 2019" ^
13+
cmake -G Ninja ^
14+
-D CMAKE_BUILD_TYPE:STRING=MinSizeRel ^
1415
-D SimpleITK_BUILD_DISTRIBUTE:BOOL=ON ^
1516
-D BUILD_SHARED_LIBS:BOOL=OFF ^
1617
-D BUILD_TESTING:BOOL=OFF ^
@@ -24,11 +25,6 @@ cmake -T "v141,host=x64" -G "Visual Studio 16 2019" ^
2425
-D ITK_USE_SYSTEM_TIFF:BOOL=ON ^
2526
-D ITK_USE_SYSTEM_ZLIB:BOOL=ON ^
2627
-D Module_ITKTBB:BOOL=ON ^
27-
-D "CMAKE_FIND_ROOT_PATH:PATH=%PREFIX%" ^
28-
-D "CMAKE_FIND_ROOT_PATH_MODE_INCLUDE:STRING=ONLY" ^
29-
-D "CMAKE_FIND_ROOT_PATH_MODE_LIBRARY:STRING=ONLY" ^
30-
-D "CMAKE_FIND_ROOT_PATH_MODE_PROGRAM:STRING=NEVER" ^
31-
-D "CMAKE_FIND_ROOT_PATH_MODE_PACKAGE:STRING=ONLY" ^
3228
-D "SWIG_EXECUTABLE:FILEPATH=%BUILD_PREFIX%\Library\bin\swig.exe" ^
3329
-D "CMAKE_PROGRAM_PATH=%BUILD_PREFIX%" ^
3430
-D "PYTHON_EXECUTABLE:FILEPATH=%PYTHON%" ^

0 commit comments

Comments
 (0)