forked from omg-dds/dds-rtps
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (29 loc) · 992 Bytes
/
ci_dustdds.yml
File metadata and controls
31 lines (29 loc) · 992 Bytes
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
name: CI DustDDS
on:
workflow_dispatch:
pull_request:
paths:
- 'srcRs/DustDDS/**'
jobs:
create_bin_release:
name: Create binary release
runs-on: ubuntu-latest
defaults:
run:
working-directory: srcRs/DustDDS
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build executable
run: cargo build --package dust_dds_shape_main_linux --release
- name: Rename executable
run: |
version=$( cargo tree --package dust_dds --depth 0 --prefix none | tr -d 'dust_dds v' )
cp ./target/release/dust_dds_shape_main_linux ./dust_dds-${version}_shape_main_linux
mkdir artifacts
zip --junk-paths artifacts/dust_dds-${version}_shape_main_linux.zip ./dust_dds-${version}_shape_main_linux
- name: Upload executable artifact
uses: actions/upload-artifact@v4
with:
name: interoperability_executable
path: srcRs/DustDDS/artifacts/