Skip to content

Commit

Permalink
Test MinGW headers using win32-samples-rc-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
squeek502 committed Mar 9, 2024
1 parent 782124e commit 4bc3657
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4bc3657

Please sign in to comment.