Skip to content

Commit 21630e7

Browse files
committed
move to windows-2022 build
1 parent 5404b76 commit 21630e7

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build_installer:
2121
permissions:
2222
contents: write
23-
runs-on: windows-2019
23+
runs-on: windows-2022
2424
steps:
2525
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
- name: download packages
@@ -29,6 +29,11 @@ jobs:
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
- run: mkdir -p ${{env.BUILD_OUTPUT_PATH}}
32+
33+
- name: Set up MSVC Developer Command Prompt
34+
  uses: ilammy/msvc-dev-cmd@v1
35+
  with:
36+
    arch: x64
3237

3338
- shell: cmd
3439
run: .\scripts\installer-build.bat

scripts/installer-build.bat

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
@echo on
22
SetLocal EnableDelayedExpansion
33
REM set msvc env
4-
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
4+
CALL "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
5+
6+
echo INCLUDE=%INCLUDE%
7+
echo LIB=%LIB%
8+
echo PATH=%PATH%
9+
10+
cl
511

612
REM set env path
713
set path=%path%;%~dp0..\package\qt-static-6.6.0\bin

0 commit comments

Comments
 (0)