-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from epfl-lasa/release/v4.0.0
Version 4.0.0 introduces some powerful new features for using `state_representation` objects in real applications, including the brand new `clproto` C++ serialization library on the basis of Protobuf. Many additional fixes and improvements have been made across the modules, and some deprecated methods have now been removed with this major version release. This release also marks the repository being renamed to `control-libraries` (formerly `control_libraries`). See the CHANGELOG and release notes for more details.
- Loading branch information
Showing
114 changed files
with
8,856 additions
and
1,733 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM ghcr.io/epfl-lasa/control-libraries/development-dependencies:latest | ||
|
||
# Copy and set the entrypoint commands to execute when the container starts | ||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: 'Build and Test Protocol' | ||
description: 'Build the protobuf message libraries and run all unit tests' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/sh -l | ||
|
||
echo ">>> Installing control libraries..." | ||
bash /github/workspace/source/install.sh --auto --no-controllers --no-dynamical-systems --no-robot-model || exit 1 | ||
ldconfig | ||
|
||
echo ">>> Building proto bindings..." | ||
cd /github/workspace/protocol/protobuf && make all || exit 2 | ||
|
||
echo ">>> Configuring clproto_cpp cmake..." | ||
cd /github/workspace/protocol/clproto_cpp && mkdir build && cd build \ | ||
&& cmake -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_TESTING=ON .. \ | ||
|| (echo ">>> [ERROR] Configuration stage failed!" && exit 3) || exit $? | ||
|
||
echo ">>> Building clproto_cpp..." | ||
make all || (echo ">>> [ERROR] Build stage failed!" && exit 4) || exit $? | ||
echo ">>> Build stage completed successfully!" | ||
|
||
echo ">>> Running all test stages..." | ||
CTEST_OUTPUT_ON_FAILURE=1 make test || (echo ">>> [ERROR] Test stage failed!" && exit 5) || exit $? | ||
echo ">>> Test stages completed successfully!" | ||
|
||
exit 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM ghcr.io/epfl-lasa/control-libraries/development-dependencies:latest | ||
|
||
# Copy and set the entrypoint commands to execute when the container starst | ||
# Copy and set the entrypoint commands to execute when the container starts | ||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM ghcr.io/epfl-lasa/control-libraries/development-dependencies:latest | ||
|
||
# Copy and set the entrypoint commands to execute when the container starst | ||
# Copy and set the entrypoint commands to execute when the container starts | ||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build and Push | ||
|
||
# Run workflow on pushes to main branch or by manual dispatch | ||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
build-publish-development-dependencies: | ||
runs-on: ubuntu-latest | ||
name: Build and publish development dependencies image | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build image | ||
run: | | ||
docker build . --file ./Dockerfile.base --tag development-dependencies | ||
- name: Login to GitHub Container Registry | ||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | ||
|
||
- name: Push image | ||
run: | | ||
IMAGE_NAME=${{ github.repository }}/development-dependencies:latest | ||
IMAGE_NAME=${IMAGE_NAME/_/-} | ||
docker tag development-dependencies ghcr.io/${IMAGE_NAME} | ||
docker push ghcr.io/${IMAGE_NAME} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Generate and Deploy Documentation | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
release: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
name: Generate and Deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Generate docs | ||
uses: mattnotmitt/doxygen-action@v1 | ||
with: | ||
working-directory: 'doxygen' | ||
doxyfile-path: 'doxygen.conf' | ||
|
||
- name: Tag release version | ||
if: ${{ github.event_name == 'release' }} | ||
shell: bash | ||
run: | | ||
TAG="${GITHUB_REF#refs/heads/}" | ||
TAG="${TAG/\//-}" | ||
mkdir -p doxygen/docs/versions | ||
sudo mv doxygen/docs/html doxygen/docs/versions/${TAG} | ||
- name: Tag branch version | ||
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} | ||
shell: bash | ||
run: | | ||
BRANCH="${GITHUB_REF#refs/heads/}" | ||
BRANCH="${BRANCH/\//-}" | ||
mkdir -p doxygen/docs/versions | ||
sudo mv doxygen/docs/html doxygen/docs/versions/${BRANCH} | ||
- name: Deploy to documentation branch | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_branch: docs | ||
publish_dir: ./doxygen/docs | ||
keep_files: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,6 @@ source/build | |
|
||
# clang-format | ||
.clang-format | ||
|
||
# protobuf generated bindings | ||
protocol/protobuf/bindings/ |
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
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
Oops, something went wrong.