Skip to content

Commit d839bd6

Browse files
committed
Updated GitHub Actions setup
- Switch to Windows 2022 runner - Install v140 toolset via Chocolatey (for some reasons trying to add related components to VS2022 would hang the workflow.)
1 parent 13c3ac8 commit d839bd6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
jobs:
2323
Build:
2424
name: sfall
25-
runs-on: windows-2019
25+
runs-on: windows-2022
2626
steps:
2727

2828
- name: Clone sfall

action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ runs:
8585
echo "dir=$(cygpath --windows "$DXSDK_DIR/DXSDK_Jun2010/")" >> $GITHUB_OUTPUT
8686
shell: bash
8787

88+
# Install VS 2015 C++ build tools and WinXP Support components via Chocolatey
89+
- name: Prepare VS 2015 C++ build tools
90+
id: vs2015_tools
91+
run: |
92+
echo "::group::Prepare VS 2015 C++ build tools"
93+
94+
choco install visualstudio2017buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Component.VC.140 --add Microsoft.VisualStudio.Component.WinXP --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.WinXP --passive"
95+
96+
echo "::endgroup::"
97+
shell: bash
98+
8899
# MSBuild is not in PATH on Windows machines
89100
# Using $GITHUB_OUTPUT to make sure workflow environment remains unchanged
90101
- name: Prepare MSBuild

0 commit comments

Comments
 (0)