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 GitHub CI config #1

Merged
merged 1 commit into from
Jul 28, 2022
Merged

Add GitHub CI config #1

merged 1 commit into from
Jul 28, 2022

Conversation

christophebedard
Copy link
Member

@christophebedard christophebedard commented Jun 28, 2020

This PR configures a GitHub workflow that matches the existing GitLab CI: https://gitlab.com/ros-tracing/ros2_tracing/-/blob/b695e4e367fb6e250d3147ab6b851b25a0e50299/.gitlab-ci.yml. It builds ros2_tracing with/without LTTng and with/without tracing being disabled, and checks if the tracing instrumentation is indeed available (or not).

The "sanity checks" workflow makes sure that the tracing instrumentation can be enabled when starting from a default source build or a binary installation, as explained in the build instructions in the README: https://github.com/ros2/ros2_tracing#building. This will also be documented on docs.ros.org, see: ros2/ros2_documentation#2877.

@christophebedard christophebedard force-pushed the add-github-ci-config branch 7 times, most recently from 25bc475 to 1cc9e64 Compare June 28, 2020 18:02
@codecov-commenter
Copy link

codecov-commenter commented Jun 28, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@b695e4e). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 2cd6f91 differs from pull request most recent head 225998f. Consider uploading reports for the commit 225998f to get more accurate results

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   33.00%           
=========================================
  Files             ?       16           
  Lines             ?      412           
  Branches          ?      243           
=========================================
  Hits              ?      136           
  Misses            ?       49           
  Partials          ?      227           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b695e4e...225998f. Read the comment docs.

@christophebedard christophebedard force-pushed the add-github-ci-config branch 4 times, most recently from 8cc759d to 5bebaf8 Compare June 28, 2020 23:42
@christophebedard christophebedard force-pushed the add-github-ci-config branch 4 times, most recently from a54981a to cae1495 Compare April 1, 2021 18:34
@christophebedard christophebedard force-pushed the add-github-ci-config branch 3 times, most recently from 180b3cf to 616144e Compare April 18, 2021 19:22
@christophebedard christophebedard force-pushed the add-github-ci-config branch 3 times, most recently from a392059 to da27b1c Compare April 26, 2021 18:37
@christophebedard christophebedard force-pushed the add-github-ci-config branch 3 times, most recently from 368af6d to 9c0b367 Compare July 26, 2021 22:39
@christophebedard christophebedard self-assigned this Jul 28, 2021
@christophebedard christophebedard force-pushed the add-github-ci-config branch 2 times, most recently from ce4740f to 14e6dca Compare August 19, 2021 18:00
@christophebedard christophebedard force-pushed the add-github-ci-config branch 14 times, most recently from c725a34 to 225998f Compare July 21, 2022 00:51
@christophebedard christophebedard changed the title Test Add GitHub CI config Jul 21, 2022
@christophebedard christophebedard changed the base branch from master to rolling July 26, 2022 18:43
@christophebedard christophebedard force-pushed the add-github-ci-config branch 6 times, most recently from 1af0827 to 8735fc8 Compare July 28, 2022 21:28
Signed-off-by: Christophe Bedard <[email protected]>
Signed-off-by: Christophe Bedard <[email protected]>
@christophebedard
Copy link
Member Author

This only affects local CI, so I'll merge this.

@christophebedard christophebedard merged commit 281ae8a into rolling Jul 28, 2022
@christophebedard christophebedard deleted the add-github-ci-config branch July 28, 2022 22:39
clalancette added a commit that referenced this pull request Mar 26, 2024
I believe that g++ does not guarantee what a particular
symbol name will be.  Thus, in g++ 11.4.0 (what is in
Ubuntu 22.04), the symbol name here ended with "#2", while
in g++ 13.2.0 (what is in Ubuntu 24.04), the symbol name
ends with "#1".  Given that we can't guarantee this, just
search for the first part of the name up to the number,
which should be good enough for this test.

Signed-off-by: Chris Lalancette <[email protected]>
clalancette added a commit that referenced this pull request Mar 26, 2024
* Use a memcmp for the expected symbol name.

I believe that g++ does not guarantee what a particular
symbol name will be.  Thus, in g++ 11.4.0 (what is in
Ubuntu 22.04), the symbol name here ended with "#2", while
in g++ 13.2.0 (what is in Ubuntu 24.04), the symbol name
ends with "#1".  Given that we can't guarantee this, just
search for the first part of the name up to the number,
which should be good enough for this test.

Signed-off-by: Chris Lalancette <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants