Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Ignition tooling action for Ubuntu CI #266

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/ci-bionic/after_make.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh -l

set -x

# Install
make install

# Compile examples
cd ../examples
mkdir build;
cd build;
cmake ..;
make;
./simple ../simple.sdf;
5 changes: 5 additions & 0 deletions .github/ci-bionic/between_cmake_make.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh -l

set -x

make sdf_descriptions
20 changes: 20 additions & 0 deletions .github/workflows/ci-bionic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Ubuntu Bionic CI

on: [push, pull_request]

jobs:
bionic-ci:
runs-on: ubuntu-latest
name: Ubuntu Bionic CI
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Bionic CI
id: ci
uses: ignition-tooling/ubuntu-bionic-ci-action@script_hooks
with:
apt-dependencies: 'libtinyxml-dev libxml2-utils ruby-dev python-psutil libignition-cmake2-dev libignition-tools-dev libignition-math6-dev liburdfdom-dev'
codecov-token: ${{ secrets.CODECOV_TOKEN }}
script-between-cmake-make: ../.github/ci-bionic/between_cmake_make.sh
script-after-make: ../.github/ci-bionic/after_make.sh