Added CI #13

Merged
CommanderRedYT merged 7 commits from ci into master 2022-03-16 18:01:47 +01:00
Showing only changes of commit 84f322043a - Show all commits

28
.github/workflows/workflow.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
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
matrix:
config: [motortest, feedc0de-front, feedc0de-back, greyhash]
steps:
- uses: actions/checkout@v2
- name: Install make
run: |
apt update -y
apt install -y binutils-arm-none-eabi gcc-arm-none-eabi newlib-arm-none-eabi cmake make
- name: Build
run: |
cmake -DCMAKE_BUILD_TYPE=Release .
make -j$(nproc) ${{ matrix.config }}