Update CI-cygwin.yml

This commit is contained in:
chrchr-github 2022-07-07 20:15:01 +02:00 committed by GitHub
parent 8485468e3d
commit 251470d28c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -24,14 +24,10 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Cygwin - name: Set up Cygwin
uses: egor-tensin/setup-cygwin@v3 uses: cygwin/cygwin-install-action@master
with: with:
platform: ${{ matrix.arch }} platform: ${{ matrix.arch }}
- name: Defines
run: |
C:\tools\cygwin\bin\bash.exe -l -c "gcc -xc++ -dM -E - < /dev/null | egrep '(cplus|WIN32|CYGWIN|MINGW|VERSION)'"
- name: Build cppcheck - name: Build cppcheck
run: | run: |
C:\tools\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2 C:\tools\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2