Skip to content

GitHub Action to build a project with MPLAB X and XC32.

License

Notifications You must be signed in to change notification settings

aeraterta/mplab-xc32-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build with MPLAB X and XC8 GitHub Action

This action will build a MPLAB X / XC32 project.

It runs on Linux Ubuntu 20.04 and uses:

Inputs

project

Required The path of the project to build (relative to the repository).

For example: firmware.X.

packs

Optional: DFPs separated by comma needed for the build.

For example: ATtiny_DFP=3.1.260,Another_DFP=1.2.3.

configuration

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

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 the project
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Build project with MPLAB X IDE
        uses: aeraterta/[email protected]
        with:
          project: firmware.X
          packs: "PIC32MZ-DA_DFP=1.5.231"
          configuration: default

Acknowledgements

Inspired by https://github.com/velocitek/ghactions-mplabx.
Inspired by https://github.com/jeandeaual/mplabx-xc8-build-action.

About

GitHub Action to build a project with MPLAB X and XC32.

Resources

License

Stars

Watchers

Forks

Packages

No packages published