-
Notifications
You must be signed in to change notification settings - Fork 254
35 lines (33 loc) · 832 Bytes
/
build.yml
File metadata and controls
35 lines (33 loc) · 832 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
32
33
34
35
name: Build All
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: arm-none-eabi-gcc
uses: fiam/arm-none-eabi-gcc@v1
with:
release: '9-2019-q4'
- name: Build Libraries
run: ./ci/build_libs.sh
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Build Examples
run: python ./ci/build_examples.py
- name: Create Distributable Binaries
run: python ./ci/build_dist.py -ru
- name: Deploy Dist
uses: EndBug/add-and-commit@v4
with:
message: 'Automated: Committing Dist folder'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}