This action will build a MPLAB X project. It runs on Linux Ubuntu 18.04 and uses:
- MPLAB 5.40
- Removed Packs not targeting PIC32MX/MZ to reduce image size
- xc32 v2.41
- 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 library
uses: FlippievanDyk/ghactions-mplabx@master
with:
project: firmware.X
configuration: default
Thanks to
SOUNDBOKS, for many of the changed made vs the original repo.