Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/windows_x64_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,18 @@ jobs:
- uses: ilammy/setup-nasm@v1.5.1

- name: Install Visual Studio 2022 Build Tools
shell: pwsh
run: |
choco install visualstudio2022-workload-vctools --yes || throw "Installation failed"
choco install visualstudio2022-workload-vctools --yes
if ($LASTEXITCODE -eq 3010) {
# Trap and ignore error 3010
Write-Host "Installation successful, reboot required. Ignoring and proceeding..."
exit 0
} elseif ($LASTEXITCODE -ne 0) {
# If another error happened (that wasn't 3010), then pass that error up
Write-Error "Installation failed with exit code $LASTEXITCODE"
exit $LASTEXITCODE
}

- name: Update Submodules
working-directory: ${{runner.workspace}}/grpc-labview
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/windows_x86_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,18 @@ jobs:
- uses: ilammy/setup-nasm@v1.5.1

- name: Install Visual Studio 2022 Build Tools
shell: pwsh
run: |
choco install visualstudio2022-workload-vctools --yes || throw "Installation failed"
choco install visualstudio2022-workload-vctools --yes
if ($LASTEXITCODE -eq 3010) {
# Trap and ignore error 3010
Write-Host "Installation successful, reboot required. Ignoring and proceeding..."
exit 0
} elseif ($LASTEXITCODE -ne 0) {
# If another error happened (that wasn't 3010), then pass that error up
Write-Error "Installation failed with exit code $LASTEXITCODE"
exit $LASTEXITCODE
}

- name: Update Submodules
working-directory: ${{runner.workspace}}/grpc-labview
Expand Down