Some configuration changes #43
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
#** @file test-build.yml | |
# @brief AG-Panel Project build-all github action file. | |
# @copyright (C) 2019-2023 Andriy Golovnya | |
# @author Andriy Golovnya (andriy.golovnya@gmail.com) | |
# Name of the action | |
name: Test Build All Configuration | |
# Controls when the action will run. Triggers the workflow on each push request to workflow and source directories | |
on: | |
push: | |
paths: | |
- '.github/workflows/**' | |
- 'ag-panel/**' | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
main: | |
name: Main | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Git Checkout | |
uses: actions/checkout@master | |
# Installs python 3.x | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: '3.x' | |
# Updates pip and installs platformio | |
- name: Install Platform IO | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U platformio | |
# Runs build-all command on all board configurations | |
- name: Build All | |
run: pio run |