Skip to content

Add ROBOTOLOGY_USES_ROS2 and ROBOTOLOGY_USES_MOVEIT options #151

Add ROBOTOLOGY_USES_ROS2 and ROBOTOLOGY_USES_MOVEIT options

Add ROBOTOLOGY_USES_ROS2 and ROBOTOLOGY_USES_MOVEIT options #151

Workflow file for this run

name: Pixi CI Workflow
on:
# on demand
workflow_dispatch:
inputs:
delete_pixi_lock:
description: 'If true, delete pixi.lock, to test against the latest version of dependencies.'
required: true
default: 'false'
pull_request:
schedule:
# * is a special character in YAML so you have to quote this string
# Execute a "nightly" build twice a week 2 AM UTC
- cron: '0 2 * * 2,5'
jobs:
build-with-pixi:
name: '[pixi:${{ matrix.os }}]'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
build_type: [Release]
os: [ubuntu-22.04, macos-13, macos-14, windows-2019]
pixi_taks: [build-all, build-all-ros2, build-all-ros2moveit]
exclude:
# ros is not supported on osx-arm64 (incompatibility with gz-sim8)
- os: macos-14
pixi_task: build-all-ros2

Check failure on line 30 in .github/workflows/pixi-ci.yml

View workflow run for this annotation

GitHub Actions / Pixi CI Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/pixi-ci.yml (Line: 30, Col: 13): Matrix exclude key 'pixi_task' does not match any key within the matrix .github/workflows/pixi-ci.yml (Line: 33, Col: 13): Matrix exclude key 'pixi_task' does not match any key within the matrix
# We already test linux-64 and ros2 in build-all-ros2moveit
- os: ubuntu-22.04
pixi_task: build-all-ros2
# moveit is only supported on Linux for now (missing required package in robostack)
- os: macos-13
pixi_task: build-all-ros2moveit
- os: macos-14
pixi_task: build-all-ros2moveit
- os: windows-2019
pixi_task: build-all-ros2moveit
steps:
- uses: actions/checkout@v4
# 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: Print used environment
shell: bash
run: |
env
- uses: prefix-dev/[email protected]
- name: Build
shell: bash
run: |
# Avoid YCM complaining that the git user is not set
# Eventually we could consider removing that check in YCM
git config --global user.name PixiGHA User
git config --global user.email [email protected]
pixi run build-all