From 4e15f66c0d94fc306056fbf81ae839ccd117059f Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 12:50:41 +0200 Subject: [PATCH 01/12] first try --- .github/workflows/ubuntu.yaml | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/ubuntu.yaml diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml new file mode 100644 index 0000000..b11cf1c --- /dev/null +++ b/.github/workflows/ubuntu.yaml @@ -0,0 +1,36 @@ +name: C/C++ AppImage + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build-appimage: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: install dependencies + run: | + sudo apt-get update + sudo apt-get install -y git cmake + + - name: configure + run: cmake cloudini_lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + + - name: build + run: make -j`nproc` install DESTDIR=AppDir + + - name: Build AppImage + uses: AppImageCrafters/build-appimage-action@master + env: + UPDATE_INFO: gh-releases-zsync|AppImageCrafters|cloudini_rosbag_converter|latest|*x86_64.AppImage.zsync + with: + recipe: AppImageBuilder.yml + - uses: actions/upload-artifact@v2 + with: + name: AppImage From e0f617457ae9638a1f7d032b45aa2e8b9a1929c5 Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 12:52:26 +0200 Subject: [PATCH 02/12] fix banch name --- .github/workflows/ubuntu.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index b11cf1c..07d1eff 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -2,9 +2,9 @@ name: C/C++ AppImage on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build-appimage: From a06eaa7e2dc3358203319b3ec995cdfd8ce5d0ee Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:16:57 +0200 Subject: [PATCH 03/12] try --- .vscode/settings.json | 5 +- AppImageBuilder.yml | 53 ++++++++++++++++++++ cloudini_lib/CMakeLists.txt | 3 +- cloudini_lib/benchmarks/CMakeLists.txt | 20 ++++++-- cloudini_lib/benchmarks/pcd_benchmark.cpp | 59 +++++++++++++++++++++-- 5 files changed, 129 insertions(+), 11 deletions(-) create mode 100644 AppImageBuilder.yml diff --git a/.vscode/settings.json b/.vscode/settings.json index 8374ca0..7ae99f5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -90,7 +90,8 @@ "qmessagebox": "cpp", "qapplication": "cpp", "locale": "cpp", - "filesystem": "cpp" + "filesystem": "cpp", + "*.tcc": "cpp" }, "python.autoComplete.extraPaths": [ "/opt/ros/humble/lib/python3.10/site-packages", @@ -100,4 +101,4 @@ "/opt/ros/humble/lib/python3.10/site-packages", "/opt/ros/humble/local/lib/python3.10/dist-packages" ], -} +} \ No newline at end of file diff --git a/AppImageBuilder.yml b/AppImageBuilder.yml new file mode 100644 index 0000000..e201576 --- /dev/null +++ b/AppImageBuilder.yml @@ -0,0 +1,53 @@ +version: 1 +script: + # Remove any old AppDir + - rm -rf AppDir || true + # Make sure you have a clean AppDir + - mkdir -p AppDir + +AppDir: + path: AppDir + + app_info: + id: com.github.cloudini + name: cloudini + icon: auto + version: latest + exec: usr/bin/cloudini_rosbag_converter + exec_args: $@ + + apt: + arch: amd64 + sources: + - sourceline: 'deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' + key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C' + + include: [] + exclude: [] + + files: + include: [] + exclude: + - usr/share/man + - usr/share/doc + + test: + fedora-30: + image: appimagecrafters/tests-env:fedora-30 + command: ./AppRun + debian-stable: + image: appimagecrafters/tests-env:debian-stable + command: ./AppRun + archlinux-latest: + image: appimagecrafters/tests-env:archlinux-latest + command: ./AppRun + centos-7: + image: appimagecrafters/tests-env:centos-7 + command: ./AppRun + ubuntu-xenial: + image: appimagecrafters/tests-env:ubuntu-xenial + command: ./AppRun + +AppImage: + arch: x86_64 + update-information: guess diff --git a/cloudini_lib/CMakeLists.txt b/cloudini_lib/CMakeLists.txt index 127f16b..dc44979 100644 --- a/cloudini_lib/CMakeLists.txt +++ b/cloudini_lib/CMakeLists.txt @@ -32,7 +32,6 @@ message(STATUS "LZ4_INCLUDE_DIR: ${LZ4_INCLUDE_DIR}") message(STATUS "LZ4_LIBRARY: ${LZ4_LIBRARY}") - ################################################################################## # ---- Trick to pass an absolute path to C++ code ---- @@ -85,12 +84,14 @@ target_include_directories(cloudini_lib PRIVATE $ $ + $ ) target_link_libraries(cloudini_lib PRIVATE ${LZ4_LIBRARY} ${ZSTD_LIBRARY} + ${DRACO_LIBRARY} PUBLIC ${PCL_LIBRARIES} ) diff --git a/cloudini_lib/benchmarks/CMakeLists.txt b/cloudini_lib/benchmarks/CMakeLists.txt index e2ae73e..9969dc8 100644 --- a/cloudini_lib/benchmarks/CMakeLists.txt +++ b/cloudini_lib/benchmarks/CMakeLists.txt @@ -13,21 +13,35 @@ else() endif() +find_package(Draco QUIET) if(PCL_FOUND) message(STATUS "PCL found, using system include") - add_executable(pcd_benchmark pcd_benchmark.cpp ) + add_executable(pcd_benchmark pcd_benchmark.cpp) - target_include_directories(pcd_benchmark PRIVATE ${PCL_INCLUDE_DIRS}}) + target_include_directories(pcd_benchmark + PRIVATE + ${PCL_INCLUDE_DIRS} + ${DRACO_INCLUDE_DIRS} + ) - target_link_libraries(pcd_benchmark + target_link_libraries(pcd_benchmark PRIVATE cloudini_lib benchmark data_path ${PCL_LIBRARIES} + ${DRACO_LIBRARIES} ) + + if(Draco_FOUND) + message(STATUS "Draco found") + target_compile_definitions(pcd_benchmark PRIVATE DRACO_FOUND) + else() + message(STATUS "Draco not found, not using it in benchmarks") + endif() + else() message(STATUS "PCL not found, skipping pcd_benchmark") endif() diff --git a/cloudini_lib/benchmarks/pcd_benchmark.cpp b/cloudini_lib/benchmarks/pcd_benchmark.cpp index 2a690a5..61c3e84 100644 --- a/cloudini_lib/benchmarks/pcd_benchmark.cpp +++ b/cloudini_lib/benchmarks/pcd_benchmark.cpp @@ -1,5 +1,8 @@ - #include +#include +#include +#include +#include #include #include #include @@ -154,18 +157,64 @@ static void PCD_Decode_LZ4_only(benchmark::State& state) { PCD_Decode_Impl(state, cloud, info); } +//------------------------------------------------------------------------------------------ + +#ifdef DRACO_FOUND + +static void PCD_Encode_Draco(benchmark::State& state) { + const auto cloud = loadCloud(); + // Create Draco point cloud + draco::PointCloudBuilder builder; + builder.Start(cloud.size()); + + const int pos_att_id = builder.AddAttribute(draco::GeometryAttribute::POSITION, 3, draco::DT_FLOAT32); + const int intensity_att_id = builder.AddAttribute(draco::GeometryAttribute::GENERIC, 1, draco::DT_FLOAT32); + + // Add points to the point cloud + for (draco::PointIndex i(0); i < cloud.size(); ++i) { + const auto& point = cloud.points[i.value()]; + builder.SetAttributeValueForPoint(pos_att_id, i, &point.x); + builder.SetAttributeValueForPoint(intensity_att_id, i, &point.intensity); + } + + std::unique_ptr draco_pc = builder.Finalize(false); + if (!draco_pc) { + throw std::runtime_error("Failed to create Draco point cloud"); + } + + // Encode the point cloud + draco::ExpertEncoder encoder(*draco_pc); + encoder.SetAttributeQuantization(draco::GeometryAttribute::POSITION, 12); + encoder.SetAttributeQuantization(draco::GeometryAttribute::GENERIC, 8); + encoder.SetEncodingMethod(draco::POINT_CLOUD_SEQUENTIAL_ENCODING); + + draco::EncoderBuffer buffer; + + for (auto _ : state) { + buffer.Clear(); + encoder.EncodeToBuffer(&buffer); + } + const auto percentage = + 100 * (static_cast(buffer.size()) / static_cast(cloud.size() * sizeof(pcl::PointXYZI))); + std::cout << "Encoded size: " << buffer.size() << " percentage: " << percentage << "%" << std::endl; +} + +#endif + +//------------------------------------------------------------------------------------------ + BENCHMARK(PCD_Encode_Lossy_ZST); -BENCHMARK(PCD_Encode_Lossles_ZST); BENCHMARK(PCD_Encode_ZSTD_only); BENCHMARK(PCD_Encode_Lossy_LZ4); -BENCHMARK(PCD_Encode_Lossles_LZ4); BENCHMARK(PCD_Encode_LZ4_only); +#ifdef DRACO_FOUND +BENCHMARK(PCD_Encode_Draco); +#endif + BENCHMARK(PCD_Decode_Lossy_ZST); BENCHMARK(PCD_Decode_Lossy_LZ4); - BENCHMARK(PCD_Decode_ZSTD_only); BENCHMARK(PCD_Decode_LZ4_only); -//------------------------------------------------------------------------------------------ BENCHMARK_MAIN(); From 6da2d6d2e48f8c3f0e6342b8204b73a97fa46758 Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:23:42 +0200 Subject: [PATCH 04/12] try --- .github/workflows/ubuntu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 07d1eff..f5c3833 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -34,3 +34,4 @@ jobs: - uses: actions/upload-artifact@v2 with: name: AppImage + path: ./AppDir # Ensure this points to the correct output directory From f0e20df8af83fb78779f1504c72a3199922bfd2c Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:24:56 +0200 Subject: [PATCH 05/12] fix --- .github/workflows/ubuntu.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index f5c3833..ada601e 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install dependencies run: | @@ -31,7 +31,9 @@ jobs: UPDATE_INFO: gh-releases-zsync|AppImageCrafters|cloudini_rosbag_converter|latest|*x86_64.AppImage.zsync with: recipe: AppImageBuilder.yml - - uses: actions/upload-artifact@v2 + + - name: Upload artifact + uses: actions/upload-artifact@v4 with: name: AppImage - path: ./AppDir # Ensure this points to the correct output directory + path: '*.AppImage*' From c567051c4c2d65ebcbba4b18908b8c85fe09942f Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:29:52 +0200 Subject: [PATCH 06/12] double workflow --- .github/workflows/release-appimage.yaml | 58 +++++++++++++++++++++++++ .github/workflows/ubuntu-build.yaml | 28 ++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 .github/workflows/release-appimage.yaml create mode 100644 .github/workflows/ubuntu-build.yaml diff --git a/.github/workflows/release-appimage.yaml b/.github/workflows/release-appimage.yaml new file mode 100644 index 0000000..91f4cb8 --- /dev/null +++ b/.github/workflows/release-appimage.yaml @@ -0,0 +1,58 @@ +name: Release AppImage + +on: + workflow_dispatch: # Allows manual triggering + push: + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +jobs: + build-appimage: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y git cmake libpcl-dev liblz4-dev libzstd-dev + + - name: Configure + run: cmake cloudini_lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF + + - name: Build + run: make -j$(nproc) install DESTDIR=AppDir + + - name: Build AppImage + uses: AppImageCrafters/build-appimage-action@master + env: + UPDATE_INFO: gh-releases-zsync|AppImageCrafters|cloudini_rosbag_converter|latest|*x86_64.AppImage.zsync + with: + recipe: AppImageBuilder.yml + + - name: Get version from tag + id: get_version + run: | + if [ "${{ github.event_name }}" = "push" ]; then + echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT + else + echo "VERSION=manual-build" >> $GITHUB_OUTPUT + fi + + - name: Create Release + uses: softprops/action-gh-release@v1 + if: github.event_name == 'push' # Only create release for tag pushes + with: + name: Release ${{ steps.get_version.outputs.VERSION }} + files: | + *.AppImage* + draft: false + prerelease: false + + - name: Upload Artifacts + if: github.event_name == 'workflow_dispatch' # Only upload artifacts for manual runs + uses: actions/upload-artifact@v4 + with: + name: AppImage-manual-build + path: '*.AppImage*' diff --git a/.github/workflows/ubuntu-build.yaml b/.github/workflows/ubuntu-build.yaml new file mode 100644 index 0000000..afe221c --- /dev/null +++ b/.github/workflows/ubuntu-build.yaml @@ -0,0 +1,28 @@ +name: Ubuntu Build & Test + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y git cmake libpcl-dev liblz4-dev libzstd-dev libgtest-dev + + - name: Configure + run: cmake cloudini_lib -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON + + - name: Build + run: make -j$(nproc) + + - name: Run tests + run: ctest --output-on-failure From c9a133e1ee602d3ebdcd40033903949f7c5855e9 Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:33:12 +0200 Subject: [PATCH 07/12] try fix --- .github/workflows/release-appimage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-appimage.yaml b/.github/workflows/release-appimage.yaml index 91f4cb8..37d6582 100644 --- a/.github/workflows/release-appimage.yaml +++ b/.github/workflows/release-appimage.yaml @@ -16,7 +16,7 @@ jobs: - name: Install dependencies run: | sudo apt-get update - sudo apt-get install -y git cmake libpcl-dev liblz4-dev libzstd-dev + sudo apt-get install -y git cmake liblz4-dev libzstd-dev - name: Configure run: cmake cloudini_lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF From d98b2356cb330c3d2a80dfcff4a6808d4944c5dc Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:34:40 +0200 Subject: [PATCH 08/12] removed --- .github/workflows/ubuntu.yaml | 39 ----------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/ubuntu.yaml diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml deleted file mode 100644 index ada601e..0000000 --- a/.github/workflows/ubuntu.yaml +++ /dev/null @@ -1,39 +0,0 @@ -name: C/C++ AppImage - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build-appimage: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: install dependencies - run: | - sudo apt-get update - sudo apt-get install -y git cmake - - - name: configure - run: cmake cloudini_lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr - - - name: build - run: make -j`nproc` install DESTDIR=AppDir - - - name: Build AppImage - uses: AppImageCrafters/build-appimage-action@master - env: - UPDATE_INFO: gh-releases-zsync|AppImageCrafters|cloudini_rosbag_converter|latest|*x86_64.AppImage.zsync - with: - recipe: AppImageBuilder.yml - - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: AppImage - path: '*.AppImage*' From 040f59883a9fade0fc791cfc838185c847dea6b9 Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:36:55 +0200 Subject: [PATCH 09/12] add caching --- .github/workflows/release-appimage.yaml | 27 +++++++++++++++++++------ .github/workflows/ubuntu-build.yaml | 26 +++++++++++++++++++----- 2 files changed, 42 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-appimage.yaml b/.github/workflows/release-appimage.yaml index 37d6582..8e204c7 100644 --- a/.github/workflows/release-appimage.yaml +++ b/.github/workflows/release-appimage.yaml @@ -13,16 +13,31 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y git cmake liblz4-dev libzstd-dev + - name: Cache apt packages + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: git cmake liblz4-dev libzstd-dev + version: 1.0 + + - name: Cache CMake files + uses: actions/cache@v4 + with: + path: | + ~/.cache/cmake + build + key: ${{ runner.os }}-cmake-appimage-${{ hashFiles('**/CMakeLists.txt') }} + restore-keys: | + ${{ runner.os }}-cmake-appimage- - name: Configure - run: cmake cloudini_lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF + run: | + mkdir -p build + cd build + cmake ../cloudini_lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF - name: Build - run: make -j$(nproc) install DESTDIR=AppDir + working-directory: build + run: make -j$(nproc) install DESTDIR=$GITHUB_WORKSPACE/AppDir - name: Build AppImage uses: AppImageCrafters/build-appimage-action@master diff --git a/.github/workflows/ubuntu-build.yaml b/.github/workflows/ubuntu-build.yaml index afe221c..75dba3c 100644 --- a/.github/workflows/ubuntu-build.yaml +++ b/.github/workflows/ubuntu-build.yaml @@ -13,16 +13,32 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y git cmake libpcl-dev liblz4-dev libzstd-dev libgtest-dev + - name: Cache apt packages + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: git cmake libpcl-dev liblz4-dev libzstd-dev libgtest-dev + version: 1.0 + + - name: Cache CMake files + uses: actions/cache@v4 + with: + path: | + ~/.cache/cmake + build + key: ${{ runner.os }}-cmake-${{ hashFiles('**/CMakeLists.txt') }} + restore-keys: | + ${{ runner.os }}-cmake- - name: Configure - run: cmake cloudini_lib -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON + run: | + mkdir -p build + cd build + cmake ../cloudini_lib -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON - name: Build + working-directory: build run: make -j$(nproc) - name: Run tests + working-directory: build run: ctest --output-on-failure From 49ccc32924a021c9cc7bcca823d8acc70758500b Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:38:04 +0200 Subject: [PATCH 10/12] fix when draco missing --- cloudini_lib/benchmarks/pcd_benchmark.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cloudini_lib/benchmarks/pcd_benchmark.cpp b/cloudini_lib/benchmarks/pcd_benchmark.cpp index 61c3e84..1b0e62c 100644 --- a/cloudini_lib/benchmarks/pcd_benchmark.cpp +++ b/cloudini_lib/benchmarks/pcd_benchmark.cpp @@ -1,11 +1,14 @@ #include +#include +#include +#include + +#ifdef DRACO_FOUND #include #include #include #include -#include -#include -#include +#endif #include "cloudini_lib/cloudini.hpp" #include "data_path.hpp" From 05c073caf2e22b00f84cf1718f2850eb45ea2456 Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:43:03 +0200 Subject: [PATCH 11/12] more changes --- .github/workflows/release-appimage.yaml | 18 ++---------------- cloudini_lib/tools/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release-appimage.yaml b/.github/workflows/release-appimage.yaml index 8e204c7..5b87e0d 100644 --- a/.github/workflows/release-appimage.yaml +++ b/.github/workflows/release-appimage.yaml @@ -19,25 +19,11 @@ jobs: packages: git cmake liblz4-dev libzstd-dev version: 1.0 - - name: Cache CMake files - uses: actions/cache@v4 - with: - path: | - ~/.cache/cmake - build - key: ${{ runner.os }}-cmake-appimage-${{ hashFiles('**/CMakeLists.txt') }} - restore-keys: | - ${{ runner.os }}-cmake-appimage- - - name: Configure - run: | - mkdir -p build - cd build - cmake ../cloudini_lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF + run: cmake cloudini_lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF - name: Build - working-directory: build - run: make -j$(nproc) install DESTDIR=$GITHUB_WORKSPACE/AppDir + run: make -j$(nproc) install DESTDIR=AppDir - name: Build AppImage uses: AppImageCrafters/build-appimage-action@master diff --git a/cloudini_lib/tools/CMakeLists.txt b/cloudini_lib/tools/CMakeLists.txt index 1d9407e..2f05cf3 100644 --- a/cloudini_lib/tools/CMakeLists.txt +++ b/cloudini_lib/tools/CMakeLists.txt @@ -4,7 +4,7 @@ if(NOT TARGET fastcdr) NAME fastcdr_imported GITHUB_REPOSITORY eProsima/Fast-CDR GIT_TAG v2.2.6 - OPTIONS "BUILD_SHARED_LIBS OFF" + OPTIONS "BUILD_SHARED_LIBS OFF;BUILD_TESTING OFF" ) endif() From 7856cc0168f8f7667d69ca367f280a68b053fcf8 Mon Sep 17 00:00:00 2001 From: Davide Faconti Date: Thu, 29 May 2025 21:45:55 +0200 Subject: [PATCH 12/12] add boost --- .github/workflows/release-appimage.yaml | 2 +- .github/workflows/ubuntu-build.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-appimage.yaml b/.github/workflows/release-appimage.yaml index 5b87e0d..4411d73 100644 --- a/.github/workflows/release-appimage.yaml +++ b/.github/workflows/release-appimage.yaml @@ -16,7 +16,7 @@ jobs: - name: Cache apt packages uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: git cmake liblz4-dev libzstd-dev + packages: git cmake liblz4-dev libzstd-dev libpcl-dev libboost-all-dev version: 1.0 - name: Configure diff --git a/.github/workflows/ubuntu-build.yaml b/.github/workflows/ubuntu-build.yaml index 75dba3c..d0fb540 100644 --- a/.github/workflows/ubuntu-build.yaml +++ b/.github/workflows/ubuntu-build.yaml @@ -16,7 +16,7 @@ jobs: - name: Cache apt packages uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: git cmake libpcl-dev liblz4-dev libzstd-dev libgtest-dev + packages: git cmake libpcl-dev liblz4-dev libzstd-dev libgtest-dev libboost-all-dev version: 1.0 - name: Cache CMake files