This action will build a MPLAB X / XC8 project.
It runs on Linux Ubuntu 20.04 and uses:
Required The path of the project to build (relative to the repository). For example: firmware.X.
The configuration of the project to build. Defaults to default.
None.
Add the following .github/workflows/build.yml file to your project:
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build the project
runs-on: ubuntu-latest
steps:
- name: Download the source code
uses: actions/checkout@v1
- name: Build
uses: jeandeaual/mplabx-xc8-build-action@v0.2.0
with:
project: firmware.X
configuration: defaultInspired by https://github.com/velocitek/ghactions-mplabx.