This action will build a MPLAB X project.
It runs on Linux (Ubuntu 18.04) and uses:
- MPLAB 6.00
- xc32 v2.41
- PIC32MX_DFP version 1.5.259
- Peripheral libraries for PIC32
Required The path to the project to build (relative to the repository). For example: 'firmware.X'.
The configuration of the project to build. Defaults to default
.
GH Outputs: None. The finished built files are moved to /github/workspace/output, so they can be used in later steps in the same run.
Add the following .github/workflows/build.yml
file to your project:
name: Build
on: [push]
jobs:
build:
name: Build project
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v1
- name: Build Firmware
uses: JitterCompany/ghactions-mplabx-xc32@master
with:
project: relative-path-to-firmware-folder
configuration: Debug
Thanks to
SOUNDBOKS, for many of the changed made vs the original repo.