Add command to toggle external audio amplifier #15 #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build sa8x8-fw | |
on: | |
push: | |
paths: | |
- src/** | |
pull_request: | |
paths: | |
- src/** | |
env: | |
SIF: https://github.com/OpenRTX/sa8x8-fw/releases/download/v1.0.0/rl78-elf-toolchain.sif | |
TARGETS: sa868s_vhf sa868s_350 sa868s_uhf | |
jobs: | |
build: | |
name: Generate firmware artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: eWaterCycle/setup-apptainer@v2 | |
with: | |
apptainer-version: 1.2.2 | |
- name: Compile | |
run: | | |
for T in $TARGETS | |
do | |
apptainer run $SIF make $T | |
done | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sa8x8-fw-srecs | |
path: | | |
${{github.workspace}}/sa8x8-fw-*.s37 | |