@@ -29,18 +29,34 @@ jobs:
2929 git clone --depth 1 https://github.com/DroneCAN/DSDL
3030 git clone --depth 1 https://github.com/dronecan/dronecan_dsdlc
3131 git clone --depth 1 --branch v1.13.0 https://github.com/google/googletest
32- - name : Configure CMake
32+ - name : Configure Standard
3333 working-directory : ${{github.workspace}}/canard/tests
3434 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
3535 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
3636 run : cmake -B ${{github.workspace}}/build
3737
38- - name : Build
38+ - name : Build Standard
3939 working-directory : ${{github.workspace}}/canard/tests
4040 # Build your program with the given configuration
4141 run : cmake --build ${{github.workspace}}/build
4242
43- - name : Test
43+ - name : Test Standard
44+ working-directory : ${{github.workspace}}/build
45+ # Execute tests defined by the CMake configuration.
46+ # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
47+ run : ctest
48+
49+ - name : Configure CANFD
50+ working-directory : ${{github.workspace}}/canard/tests
51+ # Build your program with the given configuration
52+ run : cmake -B ${{github.workspace}}/build -DCANARD_ENABLE_CANFD=1
53+
54+ - name : Build CANFD
55+ working-directory : ${{github.workspace}}/canard/tests
56+ # Build your program with the given configuration
57+ run : cmake --build ${{github.workspace}}/build
58+
59+ - name : Test CANFD
4460 working-directory : ${{github.workspace}}/build
4561 # Execute tests defined by the CMake configuration.
4662 # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
0 commit comments