Skip to content
Merged
Show file tree
Hide file tree
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
31 changes: 31 additions & 0 deletions .github/workflows/ci_dustdds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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/
Loading