1919 strategy :
2020 fail-fast : false
2121 matrix :
22- python-version : ["3.8", "3.9", "3.10"]
23- win-version : ["windows-2019", "windows-2022"]
22+ python-version : ["3.8", "3.9", "3.10", "3.11" ]
23+ win-version : ["windows-2019", "windows-2022", "windows-latest" ]
2424
2525 steps :
2626 - uses : actions/checkout@v3
3636 uses : microsoft/setup-msbuild@v1.3.1
3737 - name : Run script
3838 run : |
39- python setup.py
39+ python setup.py
40+ - name : Output PATH
41+ run : |
42+ echo $PATH
43+ - name : Run Minimal wxWidgets sample (VS 2019)
44+ if : matrix.win-version == 'windows-2019'
45+ run : |
46+ $folderWildCard = "wxWidgets-*"
47+ $folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1
48+ $folderPath = $folder.FullName # Get the full path of the selected folder
49+ msbuild "$folderPath\samples\minimal\minimal_vc16.sln"
50+ - name : Run Minimal wxWidgets sample (VS 2022)
51+ if : matrix.win-version == 'windows-2022' || matrix.win-version == 'windows-latest'
52+ run : |
53+ $folderWildCard = "wxWidgets-*"
54+ $folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1
55+ $folderPath = $folder.FullName # Get the full path of the selected folder
56+ msbuild "$folderPath\samples\minimal\minimal_vc17.sln"
57+ - name : Find built binary
58+ run : |
59+ $folderWildCard = "wxWidgets-*"
60+ $folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1
61+ $binary = Get-ChildItem -Path "$folder\samples\minimal\vc_mswud\*.exe" | Select-Object -First 1
62+ echo $binary
0 commit comments