From bfccbab12a64343c4ef2a7edf3c77c1214e140ef Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Sun, 3 May 2020 13:32:52 -0700 Subject: [PATCH] [ign-math6] Workflow updates Signed-off-by: Louise Poubel --- .github/CODEOWNERS | 5 +++++ .github/ci-bionic/after_make.sh | 14 ++++++++++++++ .github/workflows/ci-bionic.yml | 18 ++++++++++++++++++ .github/workflows/pr-collection-labeler.yml | 13 +++++++++++++ .github/workflows/triage.yml | 19 +++++++++++++++++++ README.md | 8 ++++---- bitbucket-pipelines.yml | 4 ++-- codecov.yml | 2 -- 8 files changed, 75 insertions(+), 8 deletions(-) create mode 100644 .github/CODEOWNERS create mode 100644 .github/ci-bionic/after_make.sh create mode 100644 .github/workflows/ci-bionic.yml create mode 100644 .github/workflows/pr-collection-labeler.yml create mode 100644 .github/workflows/triage.yml delete mode 100644 codecov.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..1b91d8d00 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,5 @@ +# More info: +# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners + +* @scpeters +tutorials/* @maryaB-osr diff --git a/.github/ci-bionic/after_make.sh b/.github/ci-bionic/after_make.sh new file mode 100644 index 000000000..2587aee10 --- /dev/null +++ b/.github/ci-bionic/after_make.sh @@ -0,0 +1,14 @@ +#!/bin/sh -l + +set -x + +# Install +make install + +# Compile examples +cd ../examples +mkdir build +cd build +cmake .. +make +./graph_example diff --git a/.github/workflows/ci-bionic.yml b/.github/workflows/ci-bionic.yml new file mode 100644 index 000000000..48871e647 --- /dev/null +++ b/.github/workflows/ci-bionic.yml @@ -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 diff --git a/.github/workflows/pr-collection-labeler.yml b/.github/workflows/pr-collection-labeler.yml new file mode 100644 index 000000000..99e9730bc --- /dev/null +++ b/.github/workflows/pr-collection-labeler.yml @@ -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 }} diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml new file mode 100644 index 000000000..69c16ac81 --- /dev/null +++ b/.github/workflows/triage.yml @@ -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 + diff --git a/README.md b/README.md index edd2fdea1..34ec97ce2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 18927e3e0..ae9709f47 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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 @@ -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. diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index 6f25123af..000000000 --- a/codecov.yml +++ /dev/null @@ -1,2 +0,0 @@ -codecov: - branch: default