Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.13 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.13 KB

Build with MPLABX Github Actions

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

Inputs

project

Required The path to the project to build (relative to the repository). For example: 'firmware.X'.

configuration

The configuration of the project to build. Defaults to default.

Outputs

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.

Example usage

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.