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

Fix #1370, workflow to validate OSAL API #1372

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

jphickey
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Adds a new build and test workflow that includes an API validation with both C and C++ compilers. This should catch any cases where syntactical elements that work in C but do not work in C++ appear in the headers.

Fixes #1370

Testing performed
Build and run workflow

Expected behavior changes
OSAL API headers will now be checked against a C++ compiler.

System(s) tested on
Github workflow

Additional context
Note that due to #1365, this currently fails (thus validating that this workflow is catching what it is supposed to). Once the fix is merged, this should pass.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Adds a new build and test workflow that includes an API validation with
both C and C++ compilers.  This should catch any cases where syntactical
elements that work in C but do not work in C++ appear in the headers.
@dzbaker dzbaker added the CCB:Approved Indicates code review and approval by community CCB label Mar 2, 2023
dzbaker added a commit to nasa/cFS that referenced this pull request Mar 2, 2023
*Combines:*

osal v6.0.0-rc4+dev205

**Includes:**

*osal*
- nasa/osal#1371
- nasa/osal#1372

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
@dzbaker dzbaker merged commit 7c2252f into nasa:main Mar 2, 2023
dzbaker added a commit to nasa/cFS that referenced this pull request Mar 2, 2023
*Combines:*

osal v6.0.0-rc4+dev205

**Includes:**

*osal*
- nasa/osal#1371
- nasa/osal#1372

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
@jphickey jphickey deleted the fix-1370-validate-api branch March 14, 2023 13:34
@dmknutsen dmknutsen added this to the Equuleus milestone May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB continuous-integration Equuleus-rc1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add build script and workflow to validate API headers in C++
4 participants