Feature/raspberry pi blinkt color objects (#503)
* fixed BACnetXYcolor and BACnetColorCommand encode and decoding and improved unit test coverage. Refactored BACnetXYcolor to/from ascii into lighting module. * added to the color, color temperature, and lighting output objects a fade/ramp/step engine. Added color and color command coercion into the channel object and enabled color temperature object coercion. Added CreateObject and DeleteObject service handling to the color, color temperature, lighting output, and channel objects. * added blinkt demo app for Raspberry Pi [WIP] * updated gitignore to simplify handling of apps folder contents * fixed piface demo build * added RaspiOS to pipeline for piface and blinkt! demo builds * added device object timer function for child object types into example Device object. Refactored device object to increment database revision for create or delete object services. Refactored example app/server to use mstimer library and device child object timers. --------- Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
name: Raspberry Pi
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
logLevel:
|
||||
description: 'Log level'
|
||||
required: true
|
||||
default: 'warning'
|
||||
type: choice
|
||||
options:
|
||||
- info
|
||||
- warning
|
||||
- debug
|
||||
tags:
|
||||
description: 'Test scenario tags'
|
||||
required: false
|
||||
type: boolean
|
||||
environment:
|
||||
description: 'Environment to run tests against'
|
||||
type: environment
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
log-the-inputs:
|
||||
runs-on: raspios/base:latest
|
||||
steps:
|
||||
- run: |
|
||||
echo "Log level: $LEVEL"
|
||||
echo "Tags: $TAGS"
|
||||
echo "Environment: $ENVIRONMENT"
|
||||
env:
|
||||
LEVEL: ${{ inputs.logLevel }}
|
||||
TAGS: ${{ inputs.tags }}
|
||||
ENVIRONMENT: ${{ inputs.environment }}
|
||||
|
||||
raspi-bip-apps:
|
||||
runs-on: raspios/base:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create Build Environment
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qq libconfig-dev
|
||||
- name: Build Demo Apps
|
||||
run: |
|
||||
gcc --version
|
||||
make clean
|
||||
make all
|
||||
|
||||
piface:
|
||||
runs-on: raspios/base:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create Build Environment
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
- name: Build Demo Apps
|
||||
run: |
|
||||
gcc --version
|
||||
cd apps/piface && ./configure && cd ../../
|
||||
make piface
|
||||
|
||||
blinkt:
|
||||
runs-on: raspios/base:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Create Build Environment
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qq libpigpio-dev libpigpiod-if-dev pigpiod
|
||||
- name: Build Demo Apps
|
||||
run: |
|
||||
gcc --version
|
||||
make blinkt
|
||||
Reference in New Issue
Block a user