diff options
author | Jan Delgado <jdelgado@gmx.net> | 2020-12-26 00:52:35 +0300 |
---|---|---|
committer | Jan Delgado <jdelgado@gmx.net> | 2020-12-30 15:54:05 +0300 |
commit | 6eb61348676fbb08be200ce3843bc6de10b070e4 (patch) | |
tree | 51f5b4f645fb0a77398ab177e724e8b1336ba711 /.github | |
parent | 47e033b17ded4d35cfd8be8c9efabe40e49e4bfd (diff) |
build examples in CI using github actions
The examples are built for various different boards/platforms. Where
necessary, examples were changed to enable compilation also for ESP8266
and ESP32 platforms.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..d47e46b0 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +on: + push: + branches: + - master + pull_request: + branches: + - master + +name: build +jobs: + + build: + runs-on: ubuntu-20.04 + steps: + - name: checkout code + uses: actions/checkout@v2 + + - name: install python + uses: actions/setup-python@v2 + with: + python-version: '3.8' + + - name: install platformio + run: | + pip install platformio==5.0.3 + + - name: build FastLED examples + run: ./ci/ci-compile |