Files
bobbycar-controller-firmware/.github/workflows/workflow.yml
T
2022-03-16 17:51:55 +01:00

29 lines
663 B
YAML

name: CI
on:
push:
release:
types:
- created
# pull_request:
# types: [opened, synchronize, reopened]
# checkout, install make and try to build
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
config: [motortest, feedc0de-front, feedc0de-back, greyhash]
steps:
- uses: actions/checkout@v2
- name: Install make
run: |
sudo apt update -y
sudo apt install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi cmake make
- name: Build
run: |
cmake -DCMAKE_BUILD_TYPE=Release .
make -j$(nproc) ${{ matrix.config }}