mirror of https://github.com/wolfSSL/wolfBoot.git
43 lines
957 B
YAML
43 lines
957 B
YAML
name: Footprint test
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'master', 'main', 'release/**' ]
|
|
pull_request:
|
|
branches: [ '*' ]
|
|
|
|
jobs:
|
|
footprint_test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
|
|
# Get the arm-non-eabi-gcc toolchain
|
|
- name: Install arm-none-eabi-gcc
|
|
run : |
|
|
sudo apt-get install -y gcc-arm-none-eabi
|
|
|
|
- name: make clean
|
|
run: |
|
|
make keysclean && make -C tools/keytools clean && rm -f include/target.h
|
|
|
|
- name: Install wolfSSL
|
|
run: |
|
|
sudo apt-get install --no-install-recommends -y -q make libwolfssl-dev
|
|
|
|
- name: Select config
|
|
run: |
|
|
cp config/examples/stm32f4.config .config && make include/target.h
|
|
|
|
- name: Build key tools
|
|
run: |
|
|
make -C tools/keytools
|
|
|
|
- name: Build wolfboot and test footprint
|
|
run: |
|
|
make test-size-all
|
|
|