Add unit tests to workflow. Disable clang for now because it's broken in ubuntu-latest build container
This commit is contained in:
parent
1a29d0b04e
commit
b72d6ff67f
3
.github/workflows/cmake-multi-platform.yml
vendored
3
.github/workflows/cmake-multi-platform.yml
vendored
@ -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
|
||||
|
@ -13,3 +13,5 @@ target_link_libraries(model_tests PRIVATE
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(model_tests)
|
||||
|
||||
add_test(model_tests model_tests)
|
||||
|
||||
|
@ -12,3 +12,5 @@ target_link_libraries(sim_tests
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(sim_tests)
|
||||
|
||||
add_test(sim_tests sim_tests)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user