Add unit tests to workflow. Disable clang for now because it's broken in ubuntu-latest build container

This commit is contained in:
Travis Hunter 2024-03-15 13:27:05 -06:00
parent 1a29d0b04e
commit b72d6ff67f
3 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,9 @@ jobs:
c_compiler: clang
- os: ubuntu-latest
c_compiler: cl
# Clang is broken on ubuntu-latest. C++20 brings in inconsistent libraries
- os: ubuntu-latest
c_compiler: clang
steps:
- uses: actions/checkout@v3

View File

@ -13,3 +13,5 @@ target_link_libraries(model_tests PRIVATE
include(GoogleTest)
gtest_discover_tests(model_tests)
add_test(model_tests model_tests)

View File

@ -12,3 +12,5 @@ target_link_libraries(sim_tests
include(GoogleTest)
gtest_discover_tests(sim_tests)
add_test(sim_tests sim_tests)