Skip to content

Commit

Permalink
Set up CIBW testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreinking committed Sep 3, 2024
1 parent f6e093f commit c2775e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ jobs:
CMAKE_GENERATOR=Ninja
CMAKE_PREFIX_PATH='${{ github.workspace }}\opt'
CIBW_MANYLINUX_X86_64_IMAGE: "ghcr.io/halide/manylinux_2_28_x86_64-llvm:${{ env.LLVM_VERSION }}"
CIBW_TEST_COMMAND: >
cmake -G Ninja -S {project}/python_bindings/apps -B build -DCMAKE_BUILD_TYPE=Release &&
cmake --build build &&
ctest --test-dir build --output-on-failure
- uses: actions/upload-artifact@v4
with:
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"scikit-build-core==0.10.5",
"pybind11==2.10.4"
"pybind11==2.10.4",
]
build-backend = "scikit_build_core.build"

Expand All @@ -12,6 +12,10 @@ description = "Halide is a programming language designed to make it easier to wr
license = { file = "LICENSE.txt" }
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"numpy",
"imageio",
]
dynamic = ['version']

[project.urls]
Expand Down

0 comments on commit c2775e7

Please sign in to comment.