modify flash configs and adjust pa_hero's feedback for pid params #45
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: ReleaseBuildTest | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Arm GNU Toolchain (arm-none-eabi-gcc 2021.10) | |
uses: carlosperate/arm-none-eabi-gcc-action@v1 | |
with: | |
release: '10.3-2021.10' # <-- The compiler release to use | |
- name: Install Ninja build system | |
run: | | |
sudo apt install ninja-build | |
- name: Checkout `master` branch | |
uses: actions/checkout@v3 | |
with: | |
ref: 'master' | |
- name: Configure CMake | |
# Leave SDK_CLEAR_ENV to be unset to use the default compiler in this action | |
run: cmake -B $GITHUB_WORKSPACE/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -GNinja $GITHUB_WORKSPACE | |
- name: Build | |
run: cmake --build $GITHUB_WORKSPACE/build --config ${{env.BUILD_TYPE}} | |