Skip to content

Commit

Permalink
Check if "import hde" and "import wearables" work in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro committed Sep 25, 2024
1 parent 5ed3e38 commit e643a33
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cmake -GNinja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install -DBUILD_TESTING:BOOL=ON \
-DHDE_COMPILE_PYTHON_BINDINGS:BOOL=ON -DHUMANSTATEPROVIDER_ENABLE_VISUALIZER:BOOL=ON \
-DHUMANSTATEPROVIDER_ENABLE_LOGGER:BOOL=ON ..
-DHUMANSTATEPROVIDER_ENABLE_LOGGER:BOOL=ON -DHDE_DETECT_ACTIVE_PYTHON_SITEPACKAGES:BOOL=ON ..
- name: Build
shell: bash -l {0}
Expand All @@ -59,4 +59,17 @@ jobs:
shell: bash -l {0}
run: |
cd build
ctest --repeat until-pass:5 --output-on-failure -C ${{ matrix.build_type }} .
ctest --output-on-failure -C ${{ matrix.build_type }} .
- name: Install
shell: bash -l {0}
run: |
cd build
cmake --install . --config ${{ matrix.build_type }}
- name: Check install
shell: bash -l {0}
run: |
cd build
python -c "import wearables"
python -c "import hde"

0 comments on commit e643a33

Please sign in to comment.