Update CI-cygwin.yml

This commit is contained in:
chrchr-github 2022-07-08 00:32:24 +02:00 committed by GitHub
parent f18a6790f9
commit 392174b1b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -18,7 +18,7 @@ jobs:
arch: [x64, x86]
include:
- platform: 'x86_64'
packages: >-
packages: |
gcc-g++
fail-fast: false
@ -33,10 +33,6 @@ jobs:
platform: ${{ matrix.arch }}
packages: ${{ matrix.packages }}
- name: Defines
run: |
C:\cygwin\bin\bash.exe -l -c "gcc -xc++ -dM -E - < /dev/null | egrep '(cplus|WIN32|CYGWIN|MINGW|VERSION)'"
- name: Build cppcheck
run: |
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2
@ -52,7 +48,7 @@ jobs:
- name: Extra test for misra
run: |
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE%\addons\test
..\..\cppcheck --dump -DDUMMY --suppress=uninitvar --inline-suppr misra\misra-test.c --std=c89 --platform=unix64 && python3 ..\misra.py -verify misra\misra-test.c.dump
..\..\cppcheck.exe --dump -DDUMMY --suppress=uninitvar --inline-suppr misra\misra-test.c --std=c89 --platform=unix64 && python3 ..\misra.py -verify misra\misra-test.c.dump
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE%
.\cppcheck --addon=misra --inline-suppr --enable=information --error-exitcode=1 addons\test\misra\misra-ctu-*-test.c
.\cppcheck.exe --addon=misra --inline-suppr --enable=information --error-exitcode=1 addons\test\misra\misra-ctu-*-test.c