Skip to content

Commit

Permalink
CI: Fix Ubuntu GitHub Action (#12)
Browse files Browse the repository at this point in the history
* Disable manylinux-2014

* Revert "Disable manylinux-2014"

This reverts commit 3cdf065.

* Set HalideFilters linker language

* COMP: Do not test GPU filter by default.

* CI: Disable manylinux python packages

* Revert "CI: Disable manylinux python packages"

This reverts commit 612517f.

* CI: Disable python build workflow
  • Loading branch information
allemangD authored Sep 18, 2024
1 parent 72aa7d2 commit 162bc99
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
cxx-build-workflow:
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/[email protected]

python-build-workflow:
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/[email protected]
secrets:
pypi_password: ${{ secrets.pypi_password }}
# python-build-workflow:
# uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/[email protected]
# secrets:
# pypi_password: ${{ secrets.pypi_password }}
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED YES)

option(Module_HalideFilters_USE_AUTOSCHEDULER "Use auto-schedulers for Halide filters" OFF)
option(Module_HalideFilters_TEST_GPU "Run GPU tests" OFF)

# Update the following variables to update the version of Halide used
set(HALIDE_VERSION "18.0.0")
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ set(HalideFilters_SRCS
itk_module_add_library(HalideFilters ${HalideFilters_SRCS})
target_include_directories(HalideFilters PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(HalideFilters PUBLIC itkHalideSeparableConvolutionImpl itkHalideGPUSeparableConvolutionImpl)
set_target_properties(HalideFilters PROPERTIES LINKER_LANGUAGE CXX)
20 changes: 11 additions & 9 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ itk_add_test(NAME itkHalideDiscreteGaussianImageFilterTest
9
)

itk_add_test(NAME itkHalideGPUDiscreteGaussianImageFilterTest
COMMAND
HalideFiltersTestDriver
--compare DATA{CTChest/ReferenceOutput.mha} ${ITK_TEST_OUTPUT_DIR}/Output.mha
itkHalideGPUDiscreteGaussianImageFilterTest
DATA{CTChest/Input.mha}
${ITK_TEST_OUTPUT_DIR}/Output.mha
9
)
if(Module_HalideFilters_TEST_GPU)
itk_add_test(NAME itkHalideGPUDiscreteGaussianImageFilterTest
COMMAND
HalideFiltersTestDriver
--compare DATA{CTChest/ReferenceOutput.mha} ${ITK_TEST_OUTPUT_DIR}/Output.mha
itkHalideGPUDiscreteGaussianImageFilterTest
DATA{CTChest/Input.mha}
${ITK_TEST_OUTPUT_DIR}/Output.mha
9
)
endif()

0 comments on commit 162bc99

Please sign in to comment.