Skip to content
package

GitHub Action

MplabX XC32 v2.41 with legacy plib

v1.1.1 Latest version

MplabX XC32 v2.41 with legacy plib

package

MplabX XC32 v2.41 with legacy plib

This action builds an MPLABX/xc32 with legacy libraries project in a Linux container

Installation

Copy and paste the following snippet into your .yml file.

              

- name: MplabX XC32 v2.41 with legacy plib

uses: AgricoZA/ghactions-mplabx-old@v1.1.1

Learn more about this action in AgricoZA/ghactions-mplabx-old

Choose a version

Build with MPLABX Github Actions

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

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 library
        uses: AgricoZa/ghactions-mplabx@master
        with:
          project: firmware.X
          configuration: default

Thanks to


SOUNDBOKS, for many of the changed made vs the original repo.