Status bar f #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ats PLC | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
Tests-esp-idf: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Prepare main project | |
working-directory: ./PLC_esp8266 | |
run: make project_prepare | |
- name: Run tests | |
working-directory: ./Tests_esp8266 | |
run: make run | |
Build-ota-bin: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Prepare | |
working-directory: ./PLC_esp8266 | |
run: make project_prepare | |
- name: Requirements pip | |
working-directory: ./SDK/ESP8266_RTOS_SDK | |
run: python -m pip install --user -r requirements.txt | |
- name: Build ota | |
working-directory: ./PLC_esp8266 | |
run: make ota | |
- name: Deploy | |
uses: actions/upload-artifact@v4 | |
with: | |
name: AtsPLC-esp8266.ota.bin | |
path: ./PLC_esp8266/build/AtsPLC-esp8266.ota.bin | |
retention-days: 90 |