docs: add macOS development tools setup #36
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: CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: install arm-none-eabi-gcc | |
uses: carlosperate/arm-none-eabi-gcc-action@v1 | |
with: | |
release: '12.3.Rel1' | |
- name: install dependencies | |
run: sudo apt install gcc-multilib | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: build default | |
run: | | |
git submodule update --init --recursive | |
make | |
code-check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install dependencies | |
run: sudo apt -y install cppcheck clang-format-12 | |
- name: coding style check | |
run: .ci/check-format.sh | |
- name: cppcheck | |
run: make check |