Use ilammy/msvc-dev

This commit is contained in:
Alex Spataru 2021-01-13 21:03:17 -05:00 committed by GitHub
parent 223a6c5737
commit b452ebf090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,6 +154,15 @@ jobs:
#
- name: Checkout repository
uses: actions/checkout@v2
#
# Configure MSVC
#
- name: Configure MSVC
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x64
spectre: true
#
# Install Qt
@ -171,15 +180,7 @@ jobs:
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
scoop bucket add extras
scoop install nsis
#
# Setup MSVC
#
- name: Setup MSVC environment
run: |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build"
vcvars64.bat
cd ${{env.GITHUB_WORKSPACE}}
#
# Compile application
#