nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Fix #184, add build and test workflow #203

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

Describe the contribution Workflow to build and test BPLib in a variety of configurations. The workflow implements a matrix of Debug and Release build types, and OSAL and POSIX adapter layers.

For the OSAL builds, the unit tests are also enabled, and the tests are executed.

Additionally, for the Debug OSAL build, the coverage statistics are computed and the results are included in the summary report, so they can be monitored.

This also migrates the "bptest" test program into a proper functional test based on UT Assert.

Fixes #184

Testing performed Execute github workflow and check results

Expected behavior changes The "bptest" debug program is removed, replaced with a (mostly equivalent) "sanity-test" program in the "ut-functional" directory. The replacement is based on UT Assert, like other tests.

System(s) tested on Ubuntu 22.04, Github Workflow hosted environments

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

jphickey commented 1 year ago

Discussed at 2022-11-09 CCB, will wait for review by @dzbaker next week.

jphickey commented 1 year ago

Reviewed at 2022-11-16 CCB, approved for merge