Skip to content

Commit

Permalink
[ign-math6] Workflow updates (#117)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina authored May 4, 2020
1 parent c272642 commit 45ff350
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# More info:
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

* @scpeters
tutorials/* @maryaB-osr
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
./graph_example
18 changes: 18 additions & 0 deletions .github/workflows/ci-bionic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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@master
with:
apt-dependencies: 'ruby-dev swig libeigen3-dev libignition-cmake2-dev'
codecov-token: ${{ secrets.CODECOV_TOKEN }}
script-after-make: ../.github/ci-bionic/after_make.sh
13 changes: 13 additions & 0 deletions .github/workflows/pr-collection-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: PR Collection Labeler

on: pull_request

jobs:
pr_collection_labeler:
runs-on: ubuntu-latest
steps:
- name: Add collection labels
if: github.event.action == 'opened'
uses: ignition-tooling/pr-collection-labeler@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
19 changes: 19 additions & 0 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
issues:
types: [opened]
pull_request:
types: [opened]
name: Ticket opened
jobs:
assign:
name: Add ticket to inbox
runs-on: ubuntu-latest
steps:
- name: Add ticket to inbox
uses: technote-space/create-project-card-action@v1
with:
PROJECT: Core development
COLUMN: Inbox
GITHUB_TOKEN: ${{ secrets.TRIAGE_TOKEN }}
CHECK_ORG_PROJECT: true

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

Build | Status
-- | --
Test coverage | [![codecov](https://codecov.io/bb/ignitionrobotics/ign-math/branch/default/graph/badge.svg)](https://codecov.io/bb/ignitionrobotics/ign-math)
Ubuntu Bionic | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_math-ci-default-bionic-amd64)](https://build.osrfoundation.org/job/ignition_math-ci-default-bionic-amd64)
Homebrew | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_math-ci-default-homebrew-amd64)](https://build.osrfoundation.org/job/ignition_math-ci-default-homebrew-amd64)
Windows | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_math-ci-default-windows7-amd64)](https://build.osrfoundation.org/job/ignition_math-ci-default-windows7-amd64)
Test coverage | [![codecov](https://codecov.io/gh/ignitionrobotics/ign-math/branch/master/graph/badge.svg)](https://codecov.io/gh/ignitionrobotics/ign-math)
Ubuntu Bionic | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_math-ci-master-bionic-amd64)](https://build.osrfoundation.org/job/ignition_math-ci-master-bionic-amd64)
Homebrew | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_math-ci-master-homebrew-amd64)](https://build.osrfoundation.org/job/ignition_math-ci-master-homebrew-amd64)
Windows | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_math-ci-master-windows7-amd64)](https://build.osrfoundation.org/job/ignition_math-ci-master-windows7-amd64)

Ignition Math, a component of [Ignition
Robotics](https://ignitionrobotics.org), provides general purpose math
Expand Down
4 changes: 2 additions & 2 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pipelines:
- step:
script:
- apt-get update
- apt-get -y install cmake build-essential curl git mercurial cppcheck ruby-dev swig g++-8 libeigen3-dev doxygen
- apt-get -y install cmake build-essential curl git cppcheck ruby-dev swig g++-8 libeigen3-dev doxygen
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8
- gcc -v
- g++ -v
Expand All @@ -31,7 +31,7 @@ pipelines:
- make
# Make sure documentation generation generated no warnings.
- make doc
- bash <(curl -s https://github.com/ignitionrobotics/ign-cmake/raw/master/tools/doc_check.sh)
- bash <(curl -s https://github.com/ignitionrobotics/ign-cmake/raw/master/tools/doc_check.sh)
- make test
- make coverage
# Use a special version of codecov for handling gcc8 output.
Expand Down
2 changes: 0 additions & 2 deletions codecov.yml

This file was deleted.

0 comments on commit 45ff350

Please sign in to comment.