From 4bc3657e7afa0450c366a0d7a37cbc22ebba147c Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Fri, 8 Mar 2024 19:40:33 -0800 Subject: [PATCH] Test MinGW headers using win32-samples-rc-tests --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cb1900..8efd7ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,6 +71,21 @@ jobs: working-directory: ./win32-samples-rc-tests run: .\test.ps1 -ErrorOnAnyDiscrepancies -ErrorOnAnyLikelyPanics -IncludeWin32WillCompileErrorFiles -ExcludeLLVMRC -ExcludeWindres -ExcludeZigRC + - name: Extract MinGW headers from resinator + if: ${{ matrix.os == 'windows-latest' }} + run: | + echo $null > tmp.rc + resinator /:auto-includes gnu tmp.rc + del tmp.rc + del tmp.res + + - name: Test Win32 Samples With MinGW headers + if: ${{ matrix.os == 'windows-latest' }} + working-directory: ./win32-samples-rc-tests + env: + INCLUDE: ${{ env.TEMP }}\resinator\include + run: .\test.ps1 -MinGWCompat -ErrorOnAnyDiscrepancies -ErrorOnAnyLikelyPanics -IncludeWin32WillCompileErrorFiles -ExcludeLLVMRC -ExcludeWindres -ExcludeZigRC + - uses: actions/upload-artifact@v4 if: failure() with: