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

@ -155,6 +155,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
#
@ -173,14 +182,6 @@ jobs:
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
#
- name: Compile