-
Notifications
You must be signed in to change notification settings - Fork 564
31 lines (28 loc) · 849 Bytes
/
main.yaml
File metadata and controls
31 lines (28 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build and Deploy
on:
push:
branches:
- 'main'
- 'master'
pull_request:
branches:
- '*'
jobs:
coverage:
name: Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential wget astyle
- name: Get toolchain
run: |
wget https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
tar -jxf gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2
echo "$(pwd)/gcc-arm-none-eabi-9-2020-q2-update/bin" >> $GITHUB_PATH
- name: Build
run: make
- name: Check style
run: make check_format