|
22 | 22 | # removed for now: windows-latest |
23 | 23 | os: [ubuntu-latest] |
24 | 24 | build_type: [Release, Debug] |
25 | | - #c_compiler: [gcc, clang, cl] |
26 | | - c_compiler: [gcc] |
| 25 | + c_compiler: [gcc, clang, cl] |
27 | 26 | include: |
28 | 27 | # Deactivate windows for now, fails to build/link |
29 | 28 | #- os: windows-latest |
|
52 | 51 | shell: bash |
53 | 52 | run: | |
54 | 53 | echo "octomap-build-output-dir=${{ github.workspace }}/octomap/build" >> "$GITHUB_OUTPUT" |
| 54 | + echo "dynamicEDT3D-build-output-dir=${{ github.workspace }}/dynamicEDT3D/build" >> "$GITHUB_OUTPUT" |
| 55 | + echo "octovis-build-output-dir=${{ github.workspace }}/octovis/build" >> "$GITHUB_OUTPUT" |
55 | 56 |
|
56 | 57 | - name: octomap - Configure CMake |
57 | 58 | working-directory: octomap |
|
74 | 75 | # Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). |
75 | 76 | # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail |
76 | 77 | run: ctest --build-config ${{ matrix.build_type }} |
| 78 | + |
| 79 | + - name: dynamicEDT3D - Configure CMake |
| 80 | + working-directory: dynamicEDT3D |
| 81 | + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. |
| 82 | + # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type |
| 83 | + run: > |
| 84 | + cmake -B ${{ steps.strings.outputs.dynamicEDT3D-build-output-dir }} |
| 85 | + -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} |
| 86 | + -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} |
| 87 | + -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} |
| 88 | + -S ${{ github.workspace }}/dynamicEDT3D |
| 89 | +
|
| 90 | + - name: dynamicEDT3D - Build |
| 91 | + working-directory: dynamicEDT3D |
| 92 | + # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). |
| 93 | + run: cmake --build ${{ steps.strings.outputs.dynamicEDT3D-build-output-dir }} --config ${{ matrix.build_type }} |
| 94 | + |
| 95 | + # No tests available |
| 96 | + |
| 97 | + - name: octovis - Configure CMake |
| 98 | + working-directory: octovis |
| 99 | + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. |
| 100 | + # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type |
| 101 | + run: > |
| 102 | + cmake -B ${{ steps.strings.outputs.octovis-build-output-dir }} |
| 103 | + -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} |
| 104 | + -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} |
| 105 | + -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} |
| 106 | + -S ${{ github.workspace }}/octovis |
| 107 | +
|
| 108 | + - name: octovis - Build |
| 109 | + working-directory: octovis |
| 110 | + # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). |
| 111 | + run: cmake --build ${{ steps.strings.outputs.octovis-build-output-dir }} --config ${{ matrix.build_type }} |
| 112 | + |
| 113 | + # No tests available |
| 114 | + |
0 commit comments