Skip to content

Commit

Permalink
windows test build
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Feb 24, 2024
1 parent 3eb4ffe commit 163ebb7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,8 @@ jobs:
- name: "Enable Developer Command Prompt for Visual Studio"
uses: ilammy/msvc-dev-cmd@v1

- name: "Build AutonomyLib"
shell: cmd
run: scripts\cmd\build.cmd

# - name: "Add MSBuild to PATH"
# uses: microsoft/setup-msbuild@v2
- name: "Add MSBuild to PATH"
uses: microsoft/setup-msbuild@v2
#
# - name: "Activate Developer PowerShell for Visual Studio 2019"
# if: ${{ matrix.os == 'windows-2019' }}
Expand All @@ -62,6 +58,10 @@ jobs:
# 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1'
# $CMAKE_GENERATOR_PLATFORM = 'Visual Studio 17 2022'
#
- name: "Build AutonomyLib"
shell: cmd
run: scripts\cmd\build.cmd
#
# - name: "Build AutonomySim"
# shell: pwsh
# run: |
Expand Down
2 changes: 1 addition & 1 deletion scripts/cmd/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set fullPolyCar=
set buildMode=

REM // Check Visual Studio version
if %VisualStudioVersion% == "" (
if %VisualStudioVersion% EQU "" (
echo.
echo "ERROR: command must be run from VS2022 Developer Command Prompt or Developer PowerShell."
goto :buildfailed_nomsg
Expand Down

0 comments on commit 163ebb7

Please sign in to comment.