summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-25 20:18:15 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-25 21:50:12 +0900
commitf730a5a31d7d072f752e9bf41e8b285305933328 (patch)
tree2503ae2ade030f0715ba238f08b5732b2021a8a2
parent8cd9bdd7fcc21c6245d52946b3d21fd59d169d7d (diff)
Check for C99 features which may not be supported
Continue on error because it is known that this fails right now. Once fixed, we'll turn it off.
-rw-r--r--.github/workflows/check_misc.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml
index ce4397b35a..7f2d3c346c 100644
--- a/.github/workflows/check_misc.yml
+++ b/.github/workflows/check_misc.yml
@@ -52,6 +52,14 @@ jobs:
exit $fail
working-directory: include
+ # This should be able to be removed once old platforms are dropped.
+ - id: c99-check
+ name: Check for C99 features which may not be supported
+ run: |
+ # VC2013: z modifier for size_t is not supported.
+ grep -r -n --include='*.[chyS]' '%[0-9]*z[idu]' -- . && exit 1 || :
+ continue-on-error: true # Just show in the annotations
+
- id: gems
run: true
if: ${{ github.ref == 'refs/heads/master' }}