Skip to content

Audit BLE protocol implementation against GoPro Open API spec #43

Audit BLE protocol implementation against GoPro Open API spec

Audit BLE protocol implementation against GoPro Open API spec #43

Workflow file for this run

name: Build & Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: SwiftLint
run: |
brew install swiftlint
swiftlint lint --strict
- name: List available simulators
run: xcrun simctl list devices available | head -30
- name: Build
run: |
xcodebuild build \
-project Facett.xcodeproj \
-scheme Facett \
-destination "generic/platform=iOS Simulator" \
-quiet
- name: Run Unit Tests
run: |
xcodebuild test \
-project Facett.xcodeproj \
-scheme Facett \
-destination "platform=iOS Simulator,name=iPhone 16" \
-only-testing:FacettTests/PacketReconstructorTests \
-only-testing:FacettTests/TLVParserTests \
-only-testing:FacettTests/ResponseMapperTests \
-only-testing:FacettTests/BLEParserPipelineTests \
-only-testing:FacettTests/GoProCommandTests \
-only-testing:FacettTests/SettingsTests \
-only-testing:FacettTests/StateMachineTests \
-quiet