Compare commits

...

5 commits

Author SHA1 Message Date
Rahul Kar 0bda85b247 Add back template_configuration to uncrustify check 2025-04-25 11:18:01 +00:00
Gaurav Aggarwal 5e7aa6e3d4 Fix formatting check
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2025-04-25 11:14:24 +00:00
Rahul Kar f2fecf69c1 Fix build issue in formatting 2025-04-25 10:34:14 +00:00
Rahul Kar ef514c4c85 Exclude template_configuration from uncrustiffy check 2025-04-25 09:59:07 +00:00
Rahul Kar 78e617b030 Update ubuntu-20.04 to ubuntu-latest 2025-04-25 06:23:47 +00:00
6 changed files with 11 additions and 4 deletions

View file

@ -7,7 +7,7 @@ on:
workflow_dispatch:
jobs:
formatting:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Check Formatting of FreeRTOS-Kernel Files

View file

@ -16,10 +16,11 @@ jobs:
if: ${{ github.event.issue.pull_request &&
( ( github.event.comment.body == '/bot run uncrustify' ) ||
( github.event.comment.body == '/bot run formatting' ) ) }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Apply Formatting Fix
id: check-formatting
uses: FreeRTOS/CI-CD-Github-Actions/formatting-bot@main
with:
exclude-dirs: portable

View file

@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
kernel-checker:
name: FreeRTOS Kernel Header Checks
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
# Install python 3
- name: Tool Setup

View file

@ -3,7 +3,7 @@ on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout Parent Repository
uses: actions/checkout@v4.1.1

View file

@ -415,6 +415,8 @@
* number of the failing assert (for example, "vAssertCalled( __FILE__, __LINE__
* )" or it can simple disable interrupts and sit in a loop to halt all
* execution on the failing line for viewing in a debugger. */
/* *INDENT-OFF* */
#define configASSERT( x ) \
if( ( x ) == 0 ) \
{ \
@ -422,6 +424,7 @@
for( ; ; ) \
; \
}
/* *INDENT-ON* */
/******************************************************************************/
/* FreeRTOS MPU specific definitions. *****************************************/

View file

@ -246,7 +246,10 @@ void vCoRoutineSchedule( void );
* \defgroup crSTART crSTART
* \ingroup Tasks
*/
/* *INDENT-OFF* */
#define crEND() }
/* *INDENT-ON* */
/*
* These macros are intended for internal use by the co-routine implementation