Skip to content

Commit 1d9e7ed

Browse files
committed
update msbuild
1 parent ebb068f commit 1d9e7ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/github-ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
path: dist
3636

3737
build-win:
38-
runs-on: windows-2019
38+
runs-on: windows-latest
3939
steps:
4040
- name: Git checkout
4141
uses: actions/checkout@v4
@@ -79,6 +79,8 @@ jobs:
7979
7z e "avsplus\*-filesonly.7z" -o"lib\x86-64" "*\x64\Output\c_api\AviSynth.lib"
8080
- name: Add MSBuild to PATH
8181
uses: microsoft/setup-msbuild@v2
82+
with:
83+
msbuild-architecture: x64
8284
- name: Prepare NASM
8385
uses: ilammy/setup-nasm@v1
8486
- name: Setup VSYASM and VSNASM
@@ -91,8 +93,8 @@ jobs:
9193
shell: cmd
9294
run: |
9395
set NASMPATH=%USERPROFILE%\nasm\
94-
MSBuild.exe /t:Rebuild /p:PlatformToolset=v142 /m /p:Configuration=Release /p:Platform=x86
95-
MSBuild.exe /t:Rebuild /p:PlatformToolset=v142 /m /p:Configuration=Release /p:Platform=x64
96+
MSBuild.exe /t:Rebuild /p:PlatformToolset=v143 /m /p:Configuration=Release /p:Platform=x86
97+
MSBuild.exe /t:Rebuild /p:PlatformToolset=v143 /m /p:Configuration=Release /p:Platform=x64
9698
# - name: Build MINGW64 binary
9799
# shell: msys2 {0}
98100
# run: |

0 commit comments

Comments
 (0)