-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix unknown CMP0148 with a cmake minimum range Signed-off-by: Ryan Friedman <[email protected]> * Adapt for MacOS on 3.28 * Use 3 dots for version range Signed-off-by: Ryan Friedman <[email protected]> * Add CI Signed-off-by: Ryan Friedman <[email protected]> * Test everything Signed-off-by: Ryan Friedman <[email protected]> * Remove extra rosdistro arg Signed-off-by: Ryan Friedman <[email protected]> --------- Signed-off-by: Ryan Friedman <[email protected]>
- Loading branch information
Showing
5 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build Test | ||
on: push | ||
|
||
jobs: | ||
build: | ||
runs-on: [ubuntu-22.04] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- {rosdistro: 'humble', container: 'osrf/ros:humble-desktop'} | ||
container: ${{ matrix.config.container }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install binary dependencies with rosdep | ||
run: | | ||
apt update | ||
rosdep update | ||
source /opt/ros/${{ matrix.config.rosdistro }}/setup.bash | ||
rosdep install --from-paths . --ignore-src -y | ||
shell: bash | ||
- name: Build with colcon | ||
run: | | ||
source /opt/ros/${{ matrix.config.rosdistro }}/setup.bash | ||
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
shell: bash | ||
- name: Run tests | ||
run: | | ||
source /opt/ros/${{ matrix.config.rosdistro }}/setup.bash | ||
colcon test --event-handlers=console_cohesion+ | ||
colcon test-result --all --verbose | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters