Skip to content

Fix #1370, workflow to validate OSAL API#1372

Merged
dzbaker merged 1 commit intonasa:mainfrom
jphickey:fix-1370-validate-api
Mar 2, 2023
Merged

Fix #1370, workflow to validate OSAL API#1372
dzbaker merged 1 commit intonasa:mainfrom
jphickey:fix-1370-validate-api

Conversation

@jphickey
Copy link
Copy Markdown
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.
@jphickey jphickey force-pushed the fix-1370-validate-api branch from 45f6e40 to bb49702 Compare February 24, 2023 23:07
@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
@dzbaker dzbaker modified the milestones: Equuleus, v7.0.0 Feb 12, 2026
segeljakt pushed a commit to LeoDOS-Project/LeoDOS that referenced this pull request Mar 22, 2026
*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>
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