Skip to content

Commit

Permalink
fix cache and ZSTD?
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Jan 19, 2025
1 parent 65c03d7 commit 163dc9d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ros2-humble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
~/.ros
/tmp/rosdep
/opt/ros/humble
key: ${{ runner.os }}-ros2-${{ hashFiles('**/package.xml') }}
key: ${{ runner.os }}-ros2-humble-${{ hashFiles('**/package.xml') }}-rosdep
restore-keys: |
${{ runner.os }}-ros2-
${{ runner.os }}-ros2-humble-${{ hashFiles('**/package.xml') }}-
${{ runner.os }}-ros2-humble-
# Step 3: Run ROS CI
- uses: ros-tooling/[email protected]
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ros2-rolling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
~/.ros
/tmp/rosdep
/opt/ros/rolling
key: ${{ runner.os }}-ros2-${{ hashFiles('**/package.xml') }}
key: ${{ runner.os }}-ros2-rolling-${{ hashFiles('**/package.xml') }}-rosdep
restore-keys: |
${{ runner.os }}-ros2-
${{ runner.os }}-ros2-rolling-${{ hashFiles('**/package.xml') }}-
${{ runner.os }}-ros2-rolling-
# Step 3: Run ROS CI
- uses: ros-tooling/[email protected]
Expand Down
6 changes: 5 additions & 1 deletion 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ CPMAddPackage(
GIT_TAG v1.5.6
DOWNLOAD_ONLY YES
)
file(GLOB ZSTD_SOURCES ${zstd_SOURCE_DIR}/lib/*.c)
file(GLOB ZSTD_SOURCES_COMMON ${zstd_SOURCE_DIR}/lib/common/*.c)
file(GLOB ZSTD_SOURCES_COMPRESS ${zstd_SOURCE_DIR}/lib/compress/*.c)
file(GLOB ZSTD_SOURCES_DECOMPRESS ${zstd_SOURCE_DIR}/lib/decompress/*.c)
file(GLOB ZSTD_SOURCES_DICTBUILDER ${zstd_SOURCE_DIR}/lib/dictBuilder/*.c)
list(APPEND ZSTD_SOURCES ${ZSTD_SOURCES_COMMON} ${ZSTD_SOURCES_COMPRESS} ${ZSTD_SOURCES_DECOMPRESS} ${ZSTD_SOURCES_DICTBUILDER})
add_library(zstd_static STATIC ${ZSTD_SOURCES})
target_include_directories(zstd_static PUBLIC ${zstd_SOURCE_DIR}/lib)

Expand Down

0 comments on commit 163dc9d

Please sign in to comment.