-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from jwillemsen/jwi-githuaction
Migrate azure pipelines to github actions
- Loading branch information
Showing
4 changed files
with
96 additions
and
85 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.