Skip to content
wind

GitHub Action

Build with MPLabX and XC16

v0 Pre-release

Build with MPLabX and XC16

wind

Build with MPLabX and XC16

This action builds an MPLABX/xc16 project in a Linux container

Installation

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

              

- name: Build with MPLabX and XC16

uses: velocitek/ghactions-mplabx@v0

Learn more about this action in velocitek/ghactions-mplabx

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.25
  • xc16 v1.41
  • Peripheral libraries for PIC24/ds24 v2.0

Inputs

project

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

configuration

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

Outputs

None.

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