Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Sep 9, 2024
1 parent 531c487 commit 8215a39
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,6 @@ jobs:
working-directory: _build
- name: Examples
run: |
# Confirm the python module loads. Set PYTHONPATH to the
# _install directory of the module (better to find it
# procedurally than hard code a path).
export PYTHONPATH=`find ../_install -name imath.so | xargs dirname`
python -c "import imath;print(imath.__version__)"
# Make sure we can build the tests when configured as a
# standalone application linking against the just-installed
# Imath library.
Expand All @@ -282,6 +276,20 @@ jobs:
--config ${{ matrix.build-type }}
ctest
working-directory: _examples
- name: Test Python
run: |
# Confirm the python module loads. Set PYTHONPATH to the
# _install directory of the module (better to find it
# procedurally than hard code a path).
if [[ "${{ matrix.python }}" == "ON" ]]; then
export PYTHONPATH=`find ../_install -name imath.so | xargs dirname`
python -c "import imath;print(imath.__version__)"
fi
if [[ "${{ matrix.pybind11 }}" == "ON" ]]; then
export PYTHONPATH=`find ../_install -name pybindimath.so | xargs dirname`
python -c "import pybindimath;print(pybindimath.__version__)"
fi
shell: bash
- name: Test
run: |
ctest -T Test ${{ matrix.exclude-tests }} \
Expand Down

0 comments on commit 8215a39

Please sign in to comment.