This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
Electronic: J5 changed to a variant with longer pins #340
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: PlatformIO CI | |
# Controls when the action will run. | |
on: [push, pull_request, workflow_dispatch] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install platformio | |
platformio update | |
- name: Compile target in DebugMode | |
working-directory: './Coding/server/' | |
run: platformio run --environment DebugMode | |
- name: Compile target in ReleaseMode | |
working-directory: './Coding/server/' | |
run: platformio run --environment ReleaseMode | |
- name: Perform static checks on Native environment | |
working-directory: './Coding/server/' | |
run: platformio check --environment Native | |
- name: Run tests on Native environment | |
working-directory: './Coding/server/' | |
run: platformio test --environment Native | |
- name: Set up graphviz | |
uses: ts-graphviz/setup-graphviz@v1 | |
- name: Set up doxygen and generate documentation | |
uses: mattnotmitt/[email protected] | |
with: | |
working-directory: './Coding/doc/doxygen' | |
doxyfile-path: './Doxyfile' | |
- name: Check for doxygen warnings | |
run: | | |
cd ./Coding/doc/doxygen | |
chmod +x ./checkForWarnings.sh | |
./checkForWarnings.sh |