Skip to content

Add distributed Make system for recursive sketch compilation #11

Add distributed Make system for recursive sketch compilation

Add distributed Make system for recursive sketch compilation #11

Workflow file for this run

name: Continuous Integration
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
compile-sketches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Install Arduino Tools
run: sudo apt-get install -y arduino arduino-core-avr
# Recursively build all sketches with Makefiles
- name: Compile Sketches
run: |
cd embedded
make all
# Upload .eep and .hex files as artifacts with expiration
- name: Prep Artifacts
run: |
cd embedded
make release
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: firmware
path: release/
retention-days: 7