Skip to content

[add] : CI jobs

[add] : CI jobs #1

Workflow file for this run

name: Build
on:
push:
branches:
- main
- ci
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install -qq build-essential expect sudo ccache
sudo apt-get -y install clang-format make check lcov gcovr
sudo apt install -y glibc-source gcc-arm-none-eabi
sudo apt-get -y update
sudo apt-get -y upgrade
- name: Build main and tests
run: |
mkdir -p ../../Code/build
make main -C ../../Code/
make tests -C ../../Code/