From 392174b1b1ae4838b5f3c73abfbd8f9b8c4186de Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Fri, 8 Jul 2022 00:32:24 +0200 Subject: [PATCH] Update CI-cygwin.yml --- .github/workflows/CI-cygwin.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI-cygwin.yml b/.github/workflows/CI-cygwin.yml index 17df46ed7..4f54c275f 100644 --- a/.github/workflows/CI-cygwin.yml +++ b/.github/workflows/CI-cygwin.yml @@ -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