Skip to content

Commit

Permalink
CI: Build using catkin tools
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbinney authored Jun 18, 2021
1 parent 54eec14 commit 2369b64
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ros1_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cd ${{github.workspace}} && . /opt/ros/noetic/setup.sh && catkin build && catkin build

- name: Test
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit 2369b64

Please sign in to comment.