Skip to content

Commit

Permalink
Add a separate CI workflow for the Bluetooth package
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Aug 3, 2024
1 parent b66eda8 commit 906f136
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/bluetooth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Bluetooth

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-14']
swift: ['5.10']
runs-on: '${{ matrix.os }}'

steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}
- name: Build
run: swift build
working-directory: DistributedChatBluetooth
- name: Test
run: swift test
working-directory: DistributedChatBluetooth
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Distributed Chat

[![Kit](https://github.com/fwcd/distributed-chat/actions/workflows/kit.yml/badge.svg)](https://github.com/fwcd/distributed-chat/actions/workflows/kit.yml)
[![Bluetooth](https://github.com/fwcd/distributed-chat/actions/workflows/bluetooth.yml/badge.svg)](https://github.com/fwcd/distributed-chat/actions/workflows/bluetooth.yml)
[![App](https://github.com/fwcd/distributed-chat/actions/workflows/app.yml/badge.svg)](https://github.com/fwcd/distributed-chat/actions/workflows/app.yml)
[![CLI](https://github.com/fwcd/distributed-chat/actions/workflows/cli.yml/badge.svg)](https://github.com/fwcd/distributed-chat/actions/workflows/cli.yml)
[![Simulation Protocol](https://github.com/fwcd/distributed-chat/actions/workflows/simulation-protocol.yml/badge.svg)](https://github.com/fwcd/distributed-chat/actions/workflows/simulation-protocol.yml)
Expand Down

0 comments on commit 906f136

Please sign in to comment.