Skip to content

Commit

Permalink
core yml
Browse files Browse the repository at this point in the history
  • Loading branch information
markirb committed Jan 10, 2025
1 parent 3f2f1a3 commit 95ad287
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 21 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,29 @@ jobs:
matrix:
model:
- Shelly1
- Shelly1L
- Shelly1PM
- Shelly2
- Shelly25
- ShellyColorBulb
- ShellyDuo
- ShellyI3
- ShellyMini1Gen3
- ShellyMini1PMGen3
- ShellyPlug
- ShellyPlugS
- ShellyPlus1
- ShellyPlus1Mini
- ShellyPlus1PM
- ShellyPlus1PMMini
- ShellyPlus2PM
- ShellyPlusI4
- ShellyPlusPlugS
- ShellyPlusRGBWPM
- ShellyPlusUni
- ShellyRGBW2
- ShellyUNI
- ShellyVintage
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
30 changes: 9 additions & 21 deletions mos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,58 +162,46 @@ cdefs:

libs:
- location: ./libreset
- location: https://github.com/shelly-homekit-mos/homekit-adk

#for remapping deps
- location: https://github.com/shelly-homekit-mos/core
- location: https://github.com/shelly-homekit-mos/rpc-common
- location: https://github.com/shelly-homekit-mos/ota-common

- location: https://github.com/mongoose-os-libs/file-logger
- location: https://github.com/shelly-homekit-mos/homekit-adk
- location: https://github.com/mongoose-os-libs/http-server
- location: https://github.com/mongoose-os-libs/ota-http-server
- location: https://github.com/mongoose-os-libs/rpc-service-config
- location: https://github.com/mongoose-os-libs/rpc-service-fs
- location: https://github.com/shelly-homekit-mos/rpc-service-fs
- location: https://github.com/mongoose-os-libs/rpc-uart
- location: https://github.com/mongoose-os-libs/rpc-ws
- location: https://github.com/mongoose-os-libs/sntp

# Not enough space on 2.5
# - location: https://github.com/mongoose-os-libs/rpc-mqtt
# - location: https://github.com/mongoose-os-libs/rpc-service-ota

conds:
- when: mos.platform == "esp32c3"
apply:
libs:
- location: https://github.com/shelly-homekit-mos/core
- location: https://github.com/shelly-homekit-mos/mbedtls
- location: https://github.com/shelly-homekit-mos/mongoose
- location: https://github.com/shelly-homekit-mos/wifi

- when: mos.platform == "esp32"
apply:
libs:
- location: https://github.com/mongoose-os-libs/pwm
- location: https://github.com/shelly-homekit-mos/core
- location: https://github.com/shelly-homekit-mos/mbedtls
- location: https://github.com/shelly-homekit-mos/mongoose
- location: https://github.com/shelly-homekit-mos/wifi

- when: mos.platform == "esp8266"
apply:
libs:
- location: https://github.com/mongoose-os-libs/core
- location: https://github.com/mongoose-os-libs/pwm
- location: https://github.com/mongoose-os-libs/wifi

- when: mos.platform == "ubuntu"
apply:
libs:
- location: https://github.com/mongoose-os-libs/core

- when: mos.platform != "ubuntu"
apply:
sources:
- src/noisy_input_pin
- src/wifi_config
libs:
- location: https://github.com/markirb/adc
- location: https://github.com/shelly-homekit-mos/adc
- location: https://github.com/shelly-homekit-mos/wifi
config_schema:
- ["wifi.ap.pass", ""]
- ["wifi.ap.ip", "192.168.33.1"]
Expand Down

0 comments on commit 95ad287

Please sign in to comment.