Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions CI to this repository #38

Merged
merged 6 commits into from
Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI
on:
push:
pull_request:
schedule:
- cron: '10 0 * * 0'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- name: Check out repeater
uses: actions/checkout@v4
- name: Check out ACE_TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
path: ACE_TAO
- name: Check out OpenDDS
uses: actions/checkout@v4
with:
repository: OpenDDS/OpenDDS
path: OpenDDS
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
# - name: upload workspace before test
# uses: actions/upload-artifact@v4
# with:
# name: ${{ github.job }}-${{ matrix.node-version }}
# path: .
- name: Test
run: |
export ACE_ROOT=`pwd`/ACE_TAO/ACE
export DDS_ROOT=`pwd`/OpenDDS
cd tests
npm ci
./basic_forward.pl