Use STL in one of MSVS CI builds

Do (almost) the same thing done in appveyor.yml to change wxUSE_STL
value in setup.h.
This commit is contained in:
Vadim Zeitlin 2021-09-23 16:47:13 +02:00
parent 9e303c5a6b
commit 4713c19b37

View File

@ -58,6 +58,7 @@ jobs:
- configuration: 'DLL Release'
platform: 'x64'
vsversion: 2019
use_stl: true
steps:
- name: Checkout
@ -65,6 +66,15 @@ jobs:
with:
submodules: 'recursive'
- name: Configure to use STL
if: matrix.use_stl
working-directory: include/wx/msw
run: |
$txt = Get-Content setup.h
Write-Output $txt |
%{$_ -replace "define wxUSE_STL 0", "define wxUSE_STL 1"} |
Set-Content setup.h
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.3
with: