[pre-commit.ci] pre-commit autoupdate #160
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: CI of mc_rtc_ros | |
on: | |
push: | |
paths-ignore: | |
# Changes to those files don't mandate running CI | |
- ".gitlab-ci.yml" | |
- ".jrl-ci" | |
- ".github/workflows/package.yml" | |
- "debian/**" | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, ubuntu-20.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install dependencies | |
uses: jrl-umi3218/github-actions/install-dependencies@master | |
with: | |
ubuntu: | | |
apt-mirrors: | |
mc-rtc: | |
cloudsmith: mc-rtc/head | |
apt: libmc-rtc-dev libqwt-qt5-dev | |
ros: | | |
apt: mc-rtc-plugin | |
- name: Install Qt5 | |
if: ${{ matrix.os == 'ubuntu-20.04' }} | |
uses: jrl-umi3218/github-actions/install-dependencies@master | |
with: | |
ubuntu: | | |
apt: qt5-default | |
- name: Build with catkin | |
if: ${{ matrix.os == 'ubuntu-20.04' }} | |
uses: jrl-umi3218/github-actions/build-catkin-project@master | |
- name: Build with colcon | |
if: ${{ matrix.os != 'ubuntu-20.04' }} | |
uses: jrl-umi3218/github-actions/build-colcon-project@master | |
- name: Slack Notification | |
if: failure() | |
uses: archive/github-actions-slack@master | |
with: | |
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_TOKEN }} | |
slack-channel: '#ci' | |
slack-text: > | |
[mc_rtc_ros] Build *${{ matrix.os }}/${{ matrix.build-type }} (${{ matrix.compiler }})* failed on ${{ github.ref }} |