Skip to content

Commit

Permalink
Update CI script. Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaRU committed Jan 17, 2024
1 parent 221ee79 commit e745f88
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 14 deletions.
47 changes: 34 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,39 @@ on:
- master

jobs:
build:
name: Build
runs-on: macOS-12
steps:
- name: Select Xcode
run: xcversion select 13.3.1
build_check:
runs-on: macOS-13
strategy:
max-parallel: 2
fail-fast: false
matrix:
destination:
- "generic/platform=iOS Simulator"
- "generic/platform=macOS,variant=Mac Catalyst"
- "generic/platform=iOS"
steps:
- name: Select Xcode
run: |
xcodes select 15.2
- name: Check XCode Version
run: xcodebuild -version
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
set -o pipefail && xcodebuild build -scheme FastRTPSSwift -destination "${{ matrix.destination }}" | xcpretty
- name: Check XCode Version
run: xcodebuild -version
- name: Checkout
uses: actions/checkout@v4

- name: macOS Native
run: swift test
test:
name: Test
runs-on: macOS-13
steps:
- name: Select Xcode
run: |
xcodes select 15.2
- name: Check XCode Version
run: xcodebuild -version
- name: Checkout
uses: actions/checkout@v4
- name: macOS Native build & test
run: swift test
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# FastRTPSSwift

A description of this package.
Very basic yet functional wrapper over Eprosima [Fast-DDS](https://github.com/eProsima/Fast-DDS) library.
Support both Apple platforms (see [**FastDDSPrebuild**](https://github.com/DimaRU/FastDDSPrebuild)) and Linux.

## How To Get Started

- Add
`.package(url: "https://github.com/DimaRU/FastRTPSSwift", from: "4.0.0")`
to your dependencies.

## Documentation

Autogenerated docc documentation [here](https://dimaru.github.io/TestRTPSDoc/documentation/fastrtpsswift/)

## Examples

Now used in Trident Cockpit project, see it for examples.

[https://github.com/DimaRU/TridentCockpit](https://github.com/DimaRU/TridentCockpit)

## Supplimentary package [CDRCodable](https://github.com/DimaRU/CDRCodable)

An [OMG Common Data Representation (CDR)](https://www.omg.org/spec/DDS-XTypes/) encoder and decoder for Swift `Codable` types.

[https://github.com/DimaRU/CDRCodable](https://github.com/DimaRU/CDRCodable)

0 comments on commit e745f88

Please sign in to comment.