Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
package

GitHub Action

Build with MPLAB X and XC8

v0.1.0

Build with MPLAB X and XC8

package

Build with MPLAB X and XC8

This action builds a MPLAB X / XC8 project in a Linux container

Installation

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

              

- name: Build with MPLAB X and XC8

uses: jeandeaual/mplabx-xc8-build-action@v0.1.0

Learn more about this action in jeandeaual/mplabx-xc8-build-action

Choose a version

Build with MPLAB X and XC8 GitHub Action

This action will build a MPLAB X project.

It runs on Linux Ubuntu 20.04 and uses:

Inputs

project

Required The path of 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:
    branches:
      - master
  pull_request:
    branches:
      - master
jobs:
  build:
    name: Build project
    runs-on: ubuntu-latest
    steps:
      - name: Download source
        uses: actions/checkout@v1
      - name: Build library
        uses: jeandeaual/mplabx-xc8-build-action@master
        with:
          project: firmware.X
          configuration: default

Acknowledgements

Inspired by https://github.com/velocitek/ghactions-mplabx