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 support for Buffered CAN Frames #25

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
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
47 changes: 47 additions & 0 deletions .github/workflows/canard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CMake

on: [push, pull_request, workflow_dispatch]

# env:
# # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
# BUILD_TYPE: Release

jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install Dependencies
run: |
sudo apt install gcc-multilib g++-multilib lcov ccache
sudo pip install empy pydronecan
- name: Submodule update
run: |
git submodule update --init --recursive
- name: Clone required repositories into tests folder
run: |
cd ${{github.workspace}}/tests
git clone --depth 1 --branch v1.13.0 https://github.com/google/googletest
- name: Run Tests for canard_c library
working-directory: ${{github.workspace}}/tests
run: ./run_test.sh
- name: Clone required repositories into canard/tests folder
run: |
cd ${{github.workspace}}/canard/tests
git clone --depth 1 https://github.com/DroneCAN/DSDL
git clone --depth 1 https://github.com/dronecan/dronecan_dsdlc
git clone --depth 1 --branch v1.13.0 https://github.com/google/googletest
- name: Run Tests for canard_cxx library
working-directory: ${{github.workspace}}/canard/tests
run: ./run_test.sh
- name: combine coverage results
working-directory: ${{github.workspace}}/tests
run: lcov --add-tracefile coverage.info --add-tracefile ../canard/tests/coverage.info --output-file coverage.info
- name: show coverage results
working-directory: ${{github.workspace}}/tests
run: lcov --list coverage.info
47 changes: 0 additions & 47 deletions .github/workflows/canard_cxx.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@

# CMake build directory
build/
tests/build
tests/build32
cmake-build-*/

# IDE and tools
Expand Down
Loading