Skip to content

Commit

Permalink
Update Package manifest to SPM 5.6. FastDDS 2.x.x comparability chang…
Browse files Browse the repository at this point in the history
…es. Update CI script for Xcode 13.3.1.
  • Loading branch information
DimaRU committed Jan 11, 2024
1 parent 8bd3bf2 commit 7d77149
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ on:
jobs:
build:
name: Build
runs-on: macOS-latest
runs-on: macOS-12
steps:
- name: Select Xcode
run: xcversion select 12.2
run: xcversion select 13.3.1

- name: Check XCode Version
run: xcodebuild -version
Expand Down
14 changes: 7 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.3
// swift-tools-version:5.6

import PackageDescription

Expand All @@ -10,18 +10,18 @@ let package = Package(
targets: ["FastRTPSSwift"]),
],
dependencies: [
.package(name: "CDRCodable", url: "https://github.com/DimaRU/CDRCodable.git", from: "1.0.0"),
.package(name: "FastDDS", url: "https://github.com/DimaRU/FastDDSPrebuild.git", .upToNextMajor(from: "2.0.0"))
.package(url: "https://github.com/DimaRU/CDRCodable.git", from: "1.0.0"),
.package(url: "https://github.com/DimaRU/FastDDSPrebuild.git", from: "2.0.0"),
],
targets: [
.target(
name: "FastRTPSWrapper",
dependencies: ["FastDDS"],
path: "Sources/FastRTPSWrapper"),
dependencies: [
.product(name: "FastDDS", package: "FastDDSPrebuild")
]),
.target(
name: "FastRTPSSwift",
dependencies: ["CDRCodable", "FastRTPSWrapper"],
path: "Sources/FastRTPSBridge"),
dependencies: ["CDRCodable", "FastRTPSWrapper"]),
.testTarget(
name: "FastRTPSSwiftTests",
dependencies: ["FastRTPSSwift"]),
Expand Down
2 changes: 1 addition & 1 deletion Sources/FastRTPSWrapper/BridgedReaderListener.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BridgedReaderListener:public eprosima::fastrtps::rtps::ReaderListener
void onReaderMatched(eprosima::fastrtps::rtps::RTPSReader*,
eprosima::fastrtps::rtps::MatchingInfo& info) override;
void on_liveliness_changed(eprosima::fastrtps::rtps::RTPSReader *reader,
const eprosima::fastrtps::LivelinessChangedStatus &status) override;
const eprosima::fastdds::dds::LivelinessChangedStatus &status) override;

const void * payloadDecoder;
uint32_t n_matched;
Expand Down

0 comments on commit 7d77149

Please sign in to comment.