diff options
author | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-10-31 14:43:14 +0000 |
---|---|---|
committer | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-11-04 18:11:39 +0000 |
commit | 98444bd8656c396f4dd04721ddf7721910c07b48 (patch) | |
tree | 5b1094f326a7345ac89c9793846d9f3afa2adb05 /.github | |
parent | 3f75e1cb1db7c048207a8c8842489dc35bc2ffd2 (diff) | |
download | PrismLauncher-98444bd8656c396f4dd04721ddf7721910c07b48.tar.gz PrismLauncher-98444bd8656c396f4dd04721ddf7721910c07b48.tar.bz2 PrismLauncher-98444bd8656c396f4dd04721ddf7721910c07b48.zip |
CI: Add VC variables before packaging on Windows
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adaf484b..3cf99760 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,7 @@ jobs: name: "Windows-Legacy-MSVC" msystem: '' architecture: 'win32' + vcvars_arch: 'amd64_x86' qt_ver: 5 qt_host: windows qt_arch: 'win32_msvc2019' @@ -55,6 +56,7 @@ jobs: name: "Windows-MSVC" msystem: '' architecture: 'x64' + vcvars_arch: 'amd64' qt_ver: 6 qt_host: windows qt_arch: '' @@ -332,6 +334,12 @@ jobs: EOF fi + - name: Add VC Enviroment Variables + if: runner.os == 'Windows' && matrix.msystem == '' + uses: ilammy/msvc-dev-cmd@v1 + with: + arch: ${{ matrix.vcvars_arch }} + - name: Package (Windows MinGW-w64) if: runner.os == 'Windows' && matrix.msystem != '' shell: msys2 {0} |