Skip to content

Commit

Permalink
Testing limited firmware build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danngreen committed Oct 27, 2023
1 parent 82f8093 commit e7171e7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build_test_firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Build and test firmware

on:
workflow_dispatch:
inputs:
limited_modules:
description: 'Build only a subset of modules'
default: false
type: boolean
push:
branches:
- main
Expand Down Expand Up @@ -42,8 +47,19 @@ jobs:
token: ${{ secrets.CHECKOUT_TOKEN }}

- name: Build and test
if: ${{ ! inputs.limited_modules }}
run: cd firmware && make configure && make all

- name: Build and test
if: ${{ inputs.limited_modules }}
run: |
echo "4ms:EnOsc" > firmware/lim
echo "4ms:ENVCA" > firmware/lim
echo "Befaco:EvenVCO" > firmware/lim
echo "HetrickCV:PhasorGen" > firmware/lim
echo "AudibleInstruments:Braids" > firmware/lim
cd firmware && make limit lim && make all
# - name: Upload artifact
# uses: actions/upload-artifact@v3
# with:
Expand Down

0 comments on commit e7171e7

Please sign in to comment.