mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 21:54:55 -05:00
Enable Werror for Posix Demo Coverage Test target (#1059)
Enable Werror for Posix Demo Coverage Test target Werror cannot be enabled for the non coverage test because tracelyzer code generates warnings in that target. Also add "Build Posix_GCC Demo for Coverage Test" in the PR checks to catch warnings from kernel code in PR checks. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
792efb4bb7
commit
1cf219a80b
3 changed files with 8 additions and 0 deletions
6
.github/workflows/freertos_demos.yml
vendored
6
.github/workflows/freertos_demos.yml
vendored
|
|
@ -231,6 +231,11 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
- name: Build Posix_GCC Demo for Coverage Test
|
||||
shell: bash
|
||||
working-directory: FreeRTOS/Demo/Posix_GCC
|
||||
run: make -j COVERAGE_TEST=1
|
||||
|
||||
- name: Build Posix_GCC Full Demo
|
||||
id: build-posix-gcc-full-demo
|
||||
shell: bash
|
||||
|
|
@ -239,6 +244,7 @@ jobs:
|
|||
# Build Posix_GCC Full Demo
|
||||
echo "::group::Build Posix_GCC Full Demo"
|
||||
sed -i -z "s/int[[:space:]]*main[[:space:]]*([[:space:]]*void[[:space:]]*)\n{/int main( void ){setvbuf( stdout, NULL, _IONBF, 0 );/g" main.c
|
||||
make clean
|
||||
make -j
|
||||
echo "::endgroup::"
|
||||
if [ "$?" = "0" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue