This action will build a MPLAB X / XC8 project.
It runs on Linux Ubuntu latest and uses:
Required The path of the project to build (relative to the repository). For example: /github/workspace
.
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:
pull_request:
branches: [ "main", "dev" ]
jobs:
build:
name: Build the project
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: UAMP Build with MPLAB X and XC8
uses: uampio/mplabx-xc8-build-action@v1.0.46
with:
project: /github/workspace
dfp_packs: "ATtiny_DFP=3.2.268"
configuration: default
mplabx_version: "6.20"
xc8_version: "3.00"
Inspired by https://github.com/velocitek/ghactions-mplabx. Forked from: https://github.com/jeandeaual/mplabx-xc8-build-action