FreeRTOS 11 Updates #36
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
Check-Formatting: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Repository and Submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Dependencies | |
run: sudo apt install clang-format | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Run Clang Format | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -t clang-format-dry-run | |
Check-Linter: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Repository and Submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Dependencies | |
run: sudo apt install clang-tidy | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Run Clang Tidy | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -t clang-tidy | |
Compile-Examples: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Repository and Submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Dependencies | |
run: sudo apt install gcc-arm-none-eabi | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=arm-none-eabi-gcc -DCMAKE_CXX_COMPILER=arm-none-eabi-g++ -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror" | |
- name: Compile Examples | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -t example-all |