forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (65 loc) · 1.81 KB
/
dds-rtps.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: "omg-dds/dds-rtps"
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Linux:
runs-on: ubuntu-22.04
steps:
- name: checkout OpenDDS
uses: actions/checkout@v4
with:
path: OpenDDS
submodules: true
- name: checkout dds-rtps
uses: actions/checkout@v4
with:
repository: omg-dds/dds-rtps
path: dds-rtps
- name: checkout ACE_TAO
uses: actions/checkout@v4
with:
repository: DOCGroup/ACE_TAO
ref: Latest_Micro
path: OpenDDS/ACE_TAO
- name: get ACE_TAO commit
shell: bash
run: |
cd OpenDDS/ACE_TAO
export ACE_COMMIT=$(git rev-parse HEAD)
echo "ACE_COMMIT=$ACE_COMMIT" >> $GITHUB_ENV
- name: get compiler version
shell: bash
run: |
export COMPILER_VERSION=$(g++ --version 2>&1 | head -n 1)
echo "COMPILER_VERSION=$COMPILER_VERSION" >> $GITHUB_ENV
- name: checkout MPC
uses: actions/checkout@v4
with:
repository: DOCGroup/MPC
path: OpenDDS/ACE_TAO/ACE/MPC
- name: configure OpenDDS
run: |
cd OpenDDS
./configure --optimize --no-debug --static --no-inline
tools/scripts/show_build_config.pl
- uses: ammaraskar/gcc-problem-matcher@0.3.0
- name: build OpenDDS
shell: bash
run: |
cd OpenDDS
make -j4 OpenDDS_Rtps_Udp
- name: build shape_main
shell: bash
run: |
. OpenDDS/setenv.sh
cd dds-rtps/srcCxx/opendds-cmake
cmake -S . -B build
cmake --build build -- -j4
- name: upload shape_main artifact
uses: actions/upload-artifact@v4
with:
name: ${{ github.job }}_artifact
path: dds-rtps/srcCxx/opendds-cmake/build/shape_main