Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
Adding GitHub Actions CI for this repo
  • Loading branch information
mitza-oci authored Mar 29, 2024
1 parent 8b54cd7 commit 53316d3
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v3
- name: Check out ACE_TAO
uses: actions/checkout@v3
with:
repository: DOCGroup/ACE_TAO
path: ACE_TAO
- name: Check out OpenDDS
uses: actions/checkout@v3
with:
repository: OpenDDS/OpenDDS
path: OpenDDS
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- name: Test
run: |
export ACE_ROOT=`pwd`/ACE_TAO/ACE
export DDS_ROOT=`pwd`/OpenDDS
cd test
npm ci
./basic_forward.pl

0 comments on commit 53316d3

Please sign in to comment.