Skip to content

Commit

Permalink
👩‍🌾 Backport action-ignition-ci (#452) (#501)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>

Co-authored-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
chapulina and scpeters authored Mar 9, 2021
1 parent 2cb027e commit 0a141a2
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 69 deletions.
18 changes: 18 additions & 0 deletions .github/ci/after_make_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh -l

set -x

BUILD_DIR=`pwd`

# Install
make install

# Compile examples
cd ../examples
mkdir build;
cd build;
cmake ..;
make;
./simple ../simple.sdf;

cd $BUILD_DIR
5 changes: 5 additions & 0 deletions .github/ci/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
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Ubuntu

on: [push, pull_request]

jobs:
bionic-ci:
runs-on: ubuntu-latest
name: Ubuntu Bionic CI
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and test
id: ci
uses: ignition-tooling/action-ignition-ci@bionic
with:
codecov-token: ${{ secrets.CODECOV_TOKEN }}
focal-ci:
runs-on: ubuntu-latest
name: Ubuntu Focal CI
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and test
id: ci
uses: ignition-tooling/action-ignition-ci@focal

69 changes: 0 additions & 69 deletions .github/workflows/linux-ubuntu-bionic.yml

This file was deleted.

0 comments on commit 0a141a2

Please sign in to comment.