Update CI-cygwin.yml
This commit is contained in:
parent
f18a6790f9
commit
392174b1b1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue