Delete .idea directory #6
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: Crazyswarm ROS CI | |
on: [push, pull_request] | |
env: | |
ROS_CI_DESKTOP: "`lsb_release -cs`" # gives Ubuntu name, e.g. [precise|trusty|...] | |
ROS_PARALLEL_JOBS: "-j8 -l6" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-18.04 | |
ros: melodic | |
pyVer: python | |
- os: ubuntu-20.04 | |
ros: noetic | |
pyVer: python3 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install ROS | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: ${{ matrix.ros }} | |
- name: Install Dependencies | |
run: | | |
sudo apt install -y ros-${{ matrix.ros }}-tf ros-${{ matrix.ros }}-tf-conversions ros-${{ matrix.ros }}-joy | |
sudo apt install -y libpcl-dev libusb-1.0-0-dev | |
sudo apt install -y swig lib${{ matrix.pyVer }}-dev ${{ matrix.pyVer }}-pip | |
${{ matrix.pyVer }} -m pip install pytest numpy PyYAML scipy | |
- name: Build | |
run: | | |
source /opt/ros/${{ matrix.ros }}/setup.bash | |
CSW_PYTHON=${{ matrix.pyVer }} ./build.sh | |
- name: Test | |
run: | | |
source ros_ws/devel/setup.bash | |
cd ros_ws/src/crazyswarm/scripts | |
${{ matrix.pyVer }} -m pytest --version | |
${{ matrix.pyVer }} -m pytest |