Skip to content

Hotfix/rowzaw/revert drivecontrol (#200) #708

Hotfix/rowzaw/revert drivecontrol (#200)

Hotfix/rowzaw/revert drivecontrol (#200) #708

name: Run setup and colcon build for Dev
on: push
jobs:
setup_and_build_check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Github setup
run: |
echo "ROVERFLAKE_ROOT=$GITHUB_WORKSPACE" >> "$GITHUB_ENV"
git config --global url."https://github.com/".insteadOf "git@github.com:"
- name: Setup Everything
run: |
./setup_scripts/setup_everything_common.sh
- name: Debug info
run: |
colcon version-check
cmake --version
- name: Build
run: |
source /opt/ros/humble/setup.bash
colcon build --packages-skip sweeppy --parallel-workers 4
source install/setup.bash
- name: Notify Discord (success)
if: ${{ success() }}
uses: appleboy/discord-action@v1.0.0
with:
webhook_id: ${{ secrets.DISCORD_BOT_WEBHOOK_ID }}
webhook_token: ${{ secrets.DISCORD_BOT_WEBHOOK_TOKEN }}
message: |
*I'm happy now and I'll let you merge ${{ github.actor }}. _good job!_* || ${{ github.repository }} on `${{ github.ref_name }}`
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Notify Discord (failure)
if: ${{ failure() }}
uses: appleboy/discord-action@v1.0.0
with:
webhook_id: ${{ secrets.DISCORD_BOT_WEBHOOK_ID }}
webhook_token: ${{ secrets.DISCORD_BOT_WEBHOOK_TOKEN }}
message: |
_you have saddened me ${{ github.actor }}_
${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}