update dependencies #121
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: Test dartros | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
name: Test | |
defaults: | |
run: | |
shell: bash | |
runs-on: ubuntu-latest | |
container: | |
image: osrf/ros:melodic-desktop | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y apt-transport-https wget python3-vcstool | |
sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' | |
sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_unstable.list > /etc/apt/sources.list.d/dart_unstable.list' | |
sudo apt-get update | |
sudo apt-get install -y dart | |
- uses: actions/checkout@v1 | |
- name: Clone things | |
run: | | |
mkdir -p ws/src | |
cp deps.repos ws/src/deps.repos | |
cd ws/src | |
echo 'getting repos' | |
vcs import < deps.repos | |
- name: Run catkin make | |
run: | | |
cd ws | |
source /opt/ros/melodic/setup.bash | |
catkin_make | |
- name: Test Things | |
run: | | |
cd ws/src/dartros | |
echo 'HELLO' | |
export PATH="$PATH:/usr/lib/dart/bin" | |
source /opt/ros/melodic/setup.bash | |
source ../../devel/setup.bash | |
dart pub get | |
dart test |