-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (49 loc) · 1.19 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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