File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,8 @@ on: [push]
22name : Build
33jobs :
44 build :
5- runs-on : [ windows-2019 ]
5+ runs-on : [ windows-2022 ]
66 env :
7- VSPATH : ' C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise'
87 EXTSITE : https://marketplace.visualstudio.com/items?itemName=visualstudioclient.MicrosoftVisualStudio2015InstallerProjects
98 EXTURL : https://marketplace.visualstudio.com/_apis/public/gallery/publishers/VisualStudioClient/vsextensions/MicrosoftVisualStudio2017InstallerProjects/1.0.0/vspackage
109 # The following envs are used in BrowserSelectorBHO.vcxproj
@@ -13,21 +12,21 @@ jobs:
1312 VSAPPIDNAME : ' devenv.exe'
1413 steps :
1514 - uses : actions/checkout@v4
15+ - name : Add msbuild to PATH
16+ uses : microsoft/setup-msbuild@v2
1617 - name : Fetch Visual Studio addons
1718 run : |
1819 Invoke-WebRequest -OutFile Installer.html -UseBasicParsing -SessionVariable session $env:EXTSITE
1920 Invoke-WebRequest -OutFile InstallerProjects.vsix -WebSession $session $env:EXTURL
2021 - name : Build binaries
2122 shell : cmd
2223 run : |
23- call "%VSPATH%\VC\Auxiliary\Build\vcvars32.bat"
2424 InstallerProjects.vsix /quiet InstallerProjects.vsix
2525 msbuild BrowserSelector.sln /m /p:Configuration=Release /p:Platform=Win32
2626 devenv BrowserSelectorSetup/BrowserSelectorSetup.vdproj /Build "Release|Win32"
2727 - name : Run tests
2828 shell : cmd
2929 run : |
30- call "%VSPATH%\VC\Auxiliary\Build\vcvars32.bat"
3130 vstest.console Release\UnitTest.dll
3231 - name : Upload Installer
3332 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments