From 32c474b98f28ef9ea0dad941f42537c68e83cc0f Mon Sep 17 00:00:00 2001 From: chrchr-github <78114321+chrchr-github@users.noreply.github.com> Date: Thu, 7 Jul 2022 18:08:03 +0200 Subject: [PATCH] Update CI-cygwin.yml --- .github/workflows/CI-cygwin.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI-cygwin.yml b/.github/workflows/CI-cygwin.yml index 08e820473..ca3686254 100644 --- a/.github/workflows/CI-cygwin.yml +++ b/.github/workflows/CI-cygwin.yml @@ -4,8 +4,7 @@ name: CI-cygwin -#on: [push,pull_request] -on: workflow_dispatch +on: [push,pull_request] defaults: run: @@ -27,7 +26,11 @@ jobs: - name: Set up Cygwin uses: egor-tensin/setup-cygwin@v3 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 run: |