Skip to content
name: Build GDI-4ch, digital-inputs and SENT
on: [push, pull_request]
jobs:
build-firmware:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Acquire GCC
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '12.3.Rel1'
# Make sure the compiler we just downloaded works - just print out the version
- name: Test Compiler
run: arm-none-eabi-gcc -v
- name: Discover cores
if: ${{ matrix.os != 'macos-latest' }}
run: lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)'
- name: Build GDI4 Firmware
working-directory: ./GDI-4ch/firmware
run: make -j4
- name: Build GDI6 Firmware
working-directory: ./GDI-6ch/firmware
run: make -j4
- name: Upload GDI binaries
uses: actions/upload-artifact@v4
with:
name: GDI4
path: ./GDI-4ch/firmware/build/gdi4*
- name: Build Digital Inputs Firmware
working-directory: ./digital-inputs/firmware
run: make