Skip to content

Commit

Permalink
re enable checks job
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
  • Loading branch information
matetokodi committed May 16, 2024
1 parent 616da88 commit cfe6046
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 31 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/gh-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@ env:
RUNNER: tools/run-tests.py

jobs:
# Checks:
# runs-on: ubuntu-22.04 # needed for checker version stability
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - uses: actions/setup-python@v2
# with:
# python-version: '3.10'
# - run: sudo apt update
# - run: sudo apt install pylint doxygen cppcheck clang-format-15
# - run: $RUNNER --check-signed-off=gh-actions
# if: ${{ always() }}
# - run: $RUNNER --check-doxygen
# if: ${{ always() }}
# - run: $RUNNER --check-format
# if: ${{ always() }}
# - run: $RUNNER --check-license
# if: ${{ always() }}
# - run: $RUNNER --check-strings
# if: ${{ always() }}
# - run: $RUNNER --check-pylint
# if: ${{ always() }}
# - run: $RUNNER --check-cppcheck
# if: ${{ always() }}
Checks:
runs-on: ubuntu-22.04 # needed for checker version stability
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- run: sudo apt update
- run: sudo apt install pylint doxygen cppcheck clang-format-15
- run: $RUNNER --check-signed-off=gh-actions
if: ${{ always() }}
- run: $RUNNER --check-doxygen
if: ${{ always() }}
- run: $RUNNER --check-format
if: ${{ always() }}
- run: $RUNNER --check-license
if: ${{ always() }}
- run: $RUNNER --check-strings
if: ${{ always() }}
- run: $RUNNER --check-pylint
if: ${{ always() }}
- run: $RUNNER --check-cppcheck
if: ${{ always() }}
#
# Linux_x86-64_Build_Correctness_Debugger_Tests:
# runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions jerry-core/ecma/base/ecma-helpers-number.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ ecma_number_trunc (ecma_number_t num) /**< ecma-number */
return ecma_number_from_binary (binary);
} /* ecma_number_trunc */


/**
* Calculate remainder of division of two numbers,
* as specified in ECMA-262 v5, 11.5.3, item 6.
Expand All @@ -374,9 +373,9 @@ ecma_number_remainder (ecma_number_t left_num, /**< left operand */
{
#ifdef __APPLE__
r = ecma_number_negate (r);
#else
#else /* !__APPLE__ */
r = -r;
#endif
#endif /* __APPLE__ */
}

return r;
Expand Down
4 changes: 2 additions & 2 deletions jerry-core/ecma/base/ecma-helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1800,8 +1800,8 @@ ecma_number_t JERRY_ATTR_CONST
ecma_number_negate (ecma_number_t num)
{
return -num;
}
#endif
} /* ecma_number_negate */
#endif /* __APPLE__ */

/**
* @}
Expand Down
2 changes: 1 addition & 1 deletion jerry-core/ecma/base/ecma-helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ uintptr_t ecma_get_current_stack_usage (void);
#endif /* (JERRY_STACK_LIMIT != 0) */
#ifdef __APPLE__
ecma_number_t ecma_number_negate (ecma_number_t num);
#endif
#endif /* __APPLE__ */

/* ecma-helpers-external-pointers.c */
bool ecma_create_native_pointer_property (ecma_object_t *obj_p,
Expand Down

0 comments on commit cfe6046

Please sign in to comment.