-
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (34 loc) · 1.18 KB
/
test-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#** @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