Skip to content

uampio/mplabx-xc8-build-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

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build with MPLAB X and XC8 GitHub Action

This action will build a MPLAB X / XC8 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.

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 the project
    runs-on: ubuntu-latest
    steps:
      - name: Download the source code
        uses: actions/checkout@v1
      - name: Build
        uses: jeandeaual/mplabx-xc8-build-action@v0.2.0
        with:
          project: firmware.X
          configuration: default
          mplabx_version: "6.20"
          xc8_version: "2.50"

Acknowledgements

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

Packages

No packages published

Languages

  • Dockerfile 78.0%
  • Shell 22.0%