Skip to content

Commit

Permalink
Add C++ node API artifacts to release archive
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Oct 28, 2022
1 parent c56e9ea commit 7bfb8b6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
timeout-minutes: 30
with:
command: build
args: --release -p dora-runtime -p dora-coordinator -p dora-cli
args: --release -p dora-runtime -p dora-coordinator -p dora-cli -p dora-node-api-cxx

- name: "Create Archive (Unix)"
if: runner.os == 'Linux' || runner.os == 'macOS'
Expand All @@ -58,6 +58,11 @@ jobs:
mkdir archive/iceoryx
find target -type f -wholename "*/iceoryx-install/bin/iox-roudi" -exec cp {} archive/iceoryx \;
find target -type f -wholename "*/iceoryx-install/share/doc/iceoryx_posh/LICENSE" -exec cp {} archive/iceoryx \;
mkdir archive/c++
cp target/release/libdora_node_api_cxx.a archive/c++
cp target/cxxbridge/dora-node-api-cxx/src/lib.rs.cc archive/c++/bridge.cc
cp target/cxxbridge/dora-node-api-cxx/src/lib.rs.h archive/c++/dora-node-api.h
cp target
cd archive
zip -r ../archive.zip .
cd ..
Expand All @@ -82,7 +87,7 @@ jobs:
asset_name: dora-${{ github.ref_name }}-x86_64-${{ runner.os }}.zip
asset_content_type: application/zip

# Publish Dora Node Python API
# Publish Dora Node Python API
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit 7bfb8b6

Please sign in to comment.