Skip to content

Commit

Permalink
Update ci.yml and CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowhatter committed Aug 22, 2024
1 parent f7546aa commit c449b55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
run: cargo test --verbose --release --features=logger-autoinit

- name: Upload artifact
if: ${{ matrix.unstable == 'false' && matrix.shm == 'false' }}
uses: actions/upload-artifact@v4
with:
# Artifact name
Expand Down
4 changes: 2 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ foreach(file ${files})
get_filename_component(target ${file} NAME_WE)

# Exclude SHM tests if SHM feature is disabled
if(NOT(ZENOHC_BUILD_WITH_SHARED_MEMORY))
if(${target} MATCHES "^.*_shm.*$")
if(NOT(ZENOHC_BUILD_WITH_SHARED_MEMORY AND (ZENOHC_BUILD_WITH_UNSTABLE_API)))
if(${target} MATCHES "^.*_shm.*$")
continue()
endif()
endif()
Expand Down

0 comments on commit c449b55

Please sign in to comment.