Skip to content

Commit

Permalink
Compress the install dir before upload artifact for efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
light-tech committed Aug 16, 2022
1 parent f6d0a16 commit 89b1f82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: ros2_install
path: ros2_ws/install/
path: ros2_install.tar.xz # ros2_ws/install/
3 changes: 3 additions & 0 deletions build_ros2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ mkdir -p ros2_ws
cd ros2_ws
ln -s ../src src
colcon build --merge-install --cmake-force-configure --cmake-args -DCMAKE_TOOLCHAIN_FILE=$REPO_ROOT/iOS_Simulator.cmake -DBUILD_TESTING=NO -DTHIRDPARTY=FORCE -DCOMPILE_TOOLS=NO -DFORCE_BUILD_VENDOR_PKG=ON -DBUILD_MEMORY_TOOLS=OFF -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DRCL_LOGGING_IMPLEMENTATION=rcl_logging_noop

cd $REPO_ROOT
tar czf ros2_install.tar.xz ros2_ws/install/

0 comments on commit 89b1f82

Please sign in to comment.