Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Enable GitHub Actions (#5)
Browse files Browse the repository at this point in the history
* Update the platformio.ini

Defaulting the platform to the latest public release, fixing versions for dependencies

* Create Actions Workflow

This creates a default workflow that builds both the AVR and ESP8266 code using the default configuration options.
  • Loading branch information
atanisoft authored Mar 4, 2020
1 parent dd080b7 commit af26bb7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Python Wheel
run: pip install wheel
- name: Install PlatformIO Core
run: pip install -U https://github.com/platformio/platformio/archive/v4.2.1.zip
- name: Compile BaseStation (AVR)
run: python -m platformio run
working-directory: DCCpp_Uno
- name: Compile BaseStation (ESP8266)
run: python -m platformio run
working-directory: DCCpp_ESP
10 changes: 6 additions & 4 deletions DCCpp_ESP/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@


[env:esp8266]
platform=https://github.com/platformio/platform-espressif8266.git#feature/stage
platform=espressif8266
board=d1_mini
framework=arduino
lib_deps=
ESP8266WiFi
ESP8266mDNS
ArduinoOTA
ESPAsyncTCP@1.1.1
ESPAsyncWebServer
ArduinoJson
ESPAsyncTCP
ESP Async WebServer
ArduinoJson@5.13.4
TaskScheduler
Hash
SPIFFS
lib_compat_mode=strict
lib_ldf_mode=chain+

0 comments on commit af26bb7

Please sign in to comment.