Skip to content

Refactor YarpRobotLoggerDevice for improved logging control #5951

Refactor YarpRobotLoggerDevice for improved logging control

Refactor YarpRobotLoggerDevice for improved logging control #5951

name: C++ CI Workflow with pixi dependencies
on:
workflow_dispatch:
inputs:
delete_pixi_lock:
description: 'If true, delete pixi.lock, to test against the latest version of dependencies.'
required: true
default: 'false'
push:
branches:
- master
pull_request:
schedule:
# * is a special character in YAML so you have to quote this string
# Execute a "nightly" build at 2 AM UTC
- cron: '0 2 * * *'
jobs:
build:
name: '[${{ matrix.os }}@pixi]'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v6
# On periodic jobs and when delete_pixi_lock option is true, delete the pixi.lock to check that the project compiles with latest version of dependencies
- name: Delete pixi.lock on scheduled jobs or if delete_pixi_lock is true
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.delete_pixi_lock == 'true')
shell: bash
run: |
rm pixi.lock
- name: Set up pixi
uses: prefix-dev/setup-pixi@v0.9.4
- uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ matrix.os }}
- name: Print pixi info
run: |
pixi info
# Workaround for https://github.com/gbionics/bipedal-locomotion-framework/issues/1021#issuecomment-4187263310
- name: Install pixi git as global
run: |
pixi global install git
- name: Configure
run: pixi run configure
- name: Build
run: pixi run build
- name: Test [Linux and macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
run: pixi run test
# Workaround for https://github.com/ami-iit/bipedal-locomotion-framework/issues/992
- name: Test [Windows]
if: contains(matrix.os, 'windows')
run: pixi run test-skip-python
- name: Install
run: pixi run install
- name: Test installed package
run: pixi run cmake-package-check BipedalLocomotionFramework --targets BipedalLocomotion::Framework