Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prototype of CI for this repo #155

Draft
wants to merge 4 commits into
base: gabrielenava-update-controllers
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/ci_wbc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI_wbc

on:
pull_request:
push:
branches:
- gabrielenava-add-ci

jobs:
build:
name: '[${{ matrix.os }}@${{ matrix.build_type }}@conda]'
runs-on: ubuntu-latest
strategy:
matrix:
build_type: [Debug]

steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
channels: conda-forge, robotology
channel-priority: true

- name: Install dependencies
run: |
conda config --remove channels defaults
mamba install cmake compilers make ninja pkg-config
mamba install mesa-libgl-cos7-x86_64 mesa-libgl-devel-cos7-x86_64 # CDT packages needed for linking against libGL (https://conda-forge.org/docs/maintainer/knowledge_base.html#libgl)
mamba install git ruby libxml2 lxml yaml pyyaml=5.4.1 catkin_pkg ycm-cmake-modules
mamba install yarp
echo $CONDA_PREFIX

# Compile project and run tests
- name: Build and Test
run: |
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=./install ..
cmake --build . --config ${{ matrix.build_type }}
make install
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# whole-body-controllers

[![CI_WBC](https://github.com/robotology/whole-body-controllers/actions/workflows/ci_wbc.yml/badge.svg)](https://github.com/robotology/whole-body-controllers/actions/workflows/ci_wbc.yml)

**Warning! This repository contains reseach material and therefore is under active development. In future releases, `master` branch may break compatibility with older versions of WBC. If you are interested in retrieving a `stable` version of this repo, `fork the repository` or refer to the following releases:**

- [WBC v2.5](https://github.com/robotology/whole-body-controllers/releases/tag/v2.5)
Expand Down
Loading