-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 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,36 @@ | ||
name: ci_humble | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "feat/add_ci_config" | ||
pull_request: | ||
types: [opened, synchronize, labeled] | ||
jobs: | ||
ci: | ||
runs-on: ${{ matrix.os }} | ||
if: | | ||
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING') && (github.base_ref == 'main' )) || | ||
((github.event.action == 'synchronize') && (github.base_ref == 'main') && contains(github.event.pull_request.labels.*.name, 'TESTING')) || | ||
(github.ref_name == 'main') | ||
container: | ||
image: osrf/ros:${{ matrix.ros_distribution }}-desktop | ||
timeout-minutes: 20 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-22.04] | ||
ros_distribution: [humble] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: setup and install tools | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y git wget build-essential gcc g++ libssl-dev libreadline-dev zlib1g-dev make autoconf automake cmake pkg-config curl net-tools netcat python3-jinja2 | ||
- name: Clean | ||
run: bash build.bash clean | ||
- name: Build | ||
run: bash build.bash all echoback_string |