Skip to content

Add materials xacro to macro instead of urdf xacro #8

Add materials xacro to macro instead of urdf xacro

Add materials xacro to macro instead of urdf xacro #8

Workflow file for this run

name: ROS Commit
# Note: If the workflow name is changed, the CI badge URL in the README must also be updated
on:
push: # Push trigger runs on any pushed branch.
pull_request: # Run on new and updated PR's.
schedule: # Scheduled trigger runs on the latest commit on the default branch.
- cron: '0 22 * * *'
env:
NEWEST_ZIVID_VERSION: '2.10.0+8ce7dae3-2'
jobs:
code-analysis:
name: Analyze code
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
lfs: false
- name: Run code_analysis.sh
run: |
CI_TEST_OS=ros:noetic-ros-base-focal \
./continuous-integration/run_code_analysis_in_docker.sh
- name: Notify Teams
if: ${{ failure() && github.ref == 'refs/heads/master' }}
env:
CI_FAILURE_TEAMS_HOOK: ${{ secrets.CI_FAILURE_TEAMS_HOOK }}
run: python continuous-integration/notify_teams.py --status ${{ job.status }}
build-and-test-newest-zivid:
name: Build driver and run tests for newest Zivid SDK
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
os: ['ros:noetic-ros-base-focal']
compiler: ['g++', 'clang++']
include:
- os: 'ros:noetic-ros-base-focal'
compiler: 'g++-10'
- os: 'ros:noetic-ros-base-focal'
compiler: 'g++-11'
- os: 'ros:noetic-ros-base-focal'
compiler: 'clang++-11'
- os: 'ros:noetic-ros-base-focal'
compiler: 'clang++-12'
steps:
- name: Check out code
uses: actions/checkout@v2
with:
lfs: false
- name: Build and Test
run: |
CI_TEST_ZIVID_VERSION=${{ env.NEWEST_ZIVID_VERSION }} \
CI_TEST_OS=${{ matrix.os }} \
CI_TEST_COMPILER=${{ matrix.compiler }} \
./continuous-integration/run_build_and_test_in_docker.sh
- name: Notify Teams
if: ${{ failure() && github.ref == 'refs/heads/master' }}
env:
CI_FAILURE_TEAMS_HOOK: ${{ secrets.CI_FAILURE_TEAMS_HOOK }}
run: python continuous-integration/notify_teams.py --status ${{ job.status }}
build-driver-and-run-tests-for-older-sdk:
name: Build driver and run tests for older Zivid SDK
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
zivid-version: ['2.9.0+4dbba385-1']
ros-distro: ['ros:noetic-ros-base-focal']
steps:
- name: Check out code
uses: actions/checkout@v2
with:
lfs: false
- name: Build and Test
run: |
CI_TEST_ZIVID_VERSION=${{ matrix.zivid-version }} \
CI_TEST_OS=${{ matrix.ros-distro }} \
CI_TEST_COMPILER="g++-7" \
./continuous-integration/run_build_and_test_in_docker.sh
- name: Notify Teams
if: ${{ failure() && github.ref == 'refs/heads/master' }}
env:
CI_FAILURE_TEAMS_HOOK: ${{ secrets.CI_FAILURE_TEAMS_HOOK }}
run: python continuous-integration/notify_teams.py --status ${{ job.status }}