[iCubErzelli01 and 02] New head yaw and thumb distal calibrations (#676) #1563
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Workflow | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'devel' | |
paths-ignore: | |
- 'experimentalSetups/**' | |
- 'iCubTemplates/**' | |
- 'tests/**' | |
- '.github/**' | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
paths-ignore: | |
- 'experimentalSetups/**' | |
- 'iCubTemplates/**' | |
- 'tests/**' | |
- '.github/**' | |
workflow_dispatch: | |
env: | |
DEPENDENCIES_DIR: '/dependencies' | |
jobs: | |
dry-run: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/robotology/robots-configuration:latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Extend environment | |
shell: bash | |
run: | | |
echo "${DEPENDENCIES_DIR}/install/bin" >> $GITHUB_PATH | |
echo "YARP_DATA_DIRS=${DEPENDENCIES_DIR}/install/share/yarp:${DEPENDENCIES_DIR}/install/share/iCub:${DEPENDENCIES_DIR}/install/share/CER:${DEPENDENCIES_DIR}/install/share/navigation:${DEPENDENCIES_DIR}/install/share/ICUBcontrib" >> $GITHUB_ENV | |
- name: Configure | |
shell: bash | |
run: | | |
mkdir -p build && cd build | |
cmake -DCMAKE_PREFIX_PATH=${DEPENDENCIES_DIR}/install \ | |
-DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_DIR}/install \ | |
-DBUILD_TESTING:BOOL=ON \ | |
-DINSTALL_ALL_ROBOTS:BOOL=ON .. | |
- name: Install | |
shell: bash | |
run: | | |
cd build | |
cmake --build . --config Release --target install | |
- name: Test | |
shell: bash | |
run: | | |
cd build | |
ctest --timeout 60 --output-on-failure -L run | |
- name: Upload Output | |
if: always() | |
uses: actions/upload-artifact@main | |
with: | |
name: dry-run_${{ github.run_id }} | |
path: build/dry-run_log_*.txt | |
retention-days: 30 |