summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-26 18:30:11 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-11-27 15:53:11 +0100
commit2a9dfe1d2da7b79464974827f2e4b9c966ba4c4d (patch)
tree4280255902070d361a8addd7800d9dab92af6c13 /.github
parent25165146e00a3734e4693855b22c07140fd70105 (diff)
GitHub Actions: Fix MSVC devenv setup
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fc9c92f113..70e09380dc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -110,6 +110,10 @@ jobs:
if: runner.os == 'Windows'
run: python -m pip install ninja git+https://github.com/frerich/clcache.git
+ - name: "[Windows] Set up MSVC Developer Command Prompt"
+ if: runner.os == 'Windows'
+ uses: seanmiddleditch/gha-setup-vsdevenv@v3
+
- name: "[macOS/Windows] Get build environment name"
if: runner.os != 'Linux'
id: buildenv_name
@@ -168,12 +172,6 @@ jobs:
- name: "Create build directory"
run: mkdir cmake_build
- - name: "[Windows] Set up MSVC Developer Command Prompt"
- if: runner.os == 'Windows'
- uses: ilammy/msvc-dev-cmd@v1
- with:
- toolset: 14.16
-
- name: "Configure"
run: >-
cmake