Merge pull request #134 from Carter12s/update-changelog-in-prep-for-r… #177
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
name: Galactic | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
HOME: /root | |
jobs: | |
galactic: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
container: carter12s/roslibrust-ci-galactic:latest | |
timeout-minutes: 20 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Lint | |
run: source /root/.cargo/env; cargo fmt --all -- --check | |
- name: Build Main Lib | |
run: source /root/.cargo/env; cargo build | |
# This step is required to confirm feature combinations work, the main workspace build does all features | |
- name: Build Proc Macro | |
run: source /root/.cargo/env; cargo build -p roslibrust_codegen_macro | |
- name: Unit Tests | |
run: source /root/.cargo/env; cargo test | |
- name: Start rosbridge | |
run: source /opt/ros/galactic/setup.bash; ros2 launch rosbridge_server rosbridge_websocket_launch.xml & disown; ros2 run rosapi rosapi_node & sleep 1 | |
- name: Integration Tests | |
run: source /root/.cargo/env; cargo test --features ros2_test -- --test-threads 1 |