OLED/Display clang-format style fixes #982
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- '.github/workflows/**' | |
- 'ci/**' | |
- 'cmake/**' | |
- 'core/**' | |
- 'Drivers/**' | |
- 'src/**' | |
- 'tests/**' | |
- 'CMakeLists.txt' | |
- 'Makefile' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- '.github/workflows/**' | |
- 'ci/**' | |
- 'cmake/**' | |
- 'core/**' | |
- 'Drivers/**' | |
- 'src/**' | |
- 'tests/**' | |
- 'CMakeLists.txt' | |
- 'Makefile' | |
jobs: | |
build-makefile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup arm-none-eabi-gcc | |
uses: fiam/arm-none-eabi-gcc@v1 | |
with: | |
release: '9-2019-q4' | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Build Library | |
run: make -j | |
- name: Build Examples | |
run: ./ci/build_examples.py -f core doc src tests Drivers | |
build-cmake: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup arm-none-eabi-gcc | |
uses: fiam/arm-none-eabi-gcc@v1 | |
with: | |
release: '9-2019-q4' | |
- name: Setup cmake | |
uses: jwlawson/actions-setup-cmake@v1.9 | |
with: | |
cmake-version: '3.20.x' | |
- name: Configure Library | |
run: cmake -S . -B build -G "Unix Makefiles" -D CMAKE_TOOLCHAIN_FILE=cmake/toolchains/stm32h750xx.cmake -D TOOLCHAIN_PREFIX=$(which arm-none-eabi-gcc | sed -e "s/bin\/arm-none-eabi-gcc//") | |
- name: Build Library | |
run: cmake --build build |