Skip to content

Commit

Permalink
Merge pull request #25 from jwillemsen/jwi-githuaction
Browse files Browse the repository at this point in the history
Migrate azure pipelines to github actions
  • Loading branch information
jwillemsen authored Aug 26, 2020
2 parents fcca836 + bd2a0d5 commit d220d75
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 85 deletions.
File renamed without changes.
95 changes: 95 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: linux

on:
push:
pull_request:
schedule:
- cron: '0 7 * * SUN'

jobs:
build:
strategy:
matrix:
include:
- CC: gcc-4.8
CXX: g++-4.8
PackageDeps: g++-4.8
os: ubuntu-16.04
ruby: 2.4
- CC: gcc-6
CXX: g++-6
PackageDeps: g++-6
os: ubuntu-18.04
ruby: 2.5
- CC: gcc-7
CXX: g++-7
PackageDeps: g++-7
os: ubuntu-18.04
ruby: 2.6
- CC: gcc-8
CXX: g++-8
PackageDeps: g++-8
os: ubuntu-18.04
ruby: 2.7
- CC: gcc-9
CXX: g++-9
PackageDeps: g++-9
os: ubuntu-18.04
ruby: 2.7
- CC: gcc-10
CXX: g++-10
PackageDeps: g++-10
os: ubuntu-18.04
ruby: 2.7
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} ${{ matrix.CXX }} ruby-${{ matrix.ruby }}
env:
ACE_ROOT: ${{ github.workspace }}/ACE_TAO/ACE
TAO_ROOT: ${{ github.workspace }}/ACE_TAO/TAO
MPC_ROOT: ${{ github.workspace }}/ACE_TAO/MPC
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: checkout r2corba
uses: actions/checkout@v2
- name: checkout ACE_TAO
uses: actions/checkout@v2
with:
repository: DOCGroup/ACE_TAO
path: ACE_TAO
ref: Latest_Micro
- name: checkout MPC
uses: actions/checkout@v2
with:
repository: DOCGroup/MPC
path: ACE_TAO/MPC
ref: Latest_ACETAO_Micro
- name: checkout ridl
uses: actions/checkout@v2
with:
repository: RemedyIT/ridl
path: ridl
- name: Add Repo
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ ${{ matrix.Repo }} main"
if: matrix.Repo != ''
- name: Add packages
run: |
sudo apt-get --yes update
sudo apt-get --yes install ${{ matrix.PackageDeps }}
- name: Run rake configure
run: |
rake configure
shell: pwsh
- name: Run rake build
run: |
rake build
shell: pwsh
- name: Run rake test
run: |
rake test
shell: pwsh
1 change: 1 addition & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{<img src="https://badge.fury.io/rb/r2corba.svg" alt="Gem Version" />}[https://badge.fury.io/rb/r2corba]
{<img src="https://dev.azure.com/remedyit/r2corba/_apis/build/status/r2corba?branchName=master" alt="Azure pipeline" />}[https://dev.azure.com/remedyit/r2corba/_build?definitionId=3&_a=summary]
{<img src="https://www.codefactor.io/repository/github/remedyit/r2corba/badge" alt="CodeFactor" />}[https://www.codefactor.io/repository/github/remedyit/r2corba]
{<img src="https://github.com/RemedyIT/r2corba/workflows/linux/badge.svg" alt="Linux CI| />}[https://github.com/RemedyIT/r2corba/actions?query=workflow%3Alinux]

= R2CORBA

Expand Down
85 changes: 0 additions & 85 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit d220d75

Please sign in to comment.