Skip to content

Commit

Permalink
Github workflow use windows-2019 virtual environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielius1922 committed Feb 14, 2022
1 parent 8380e96 commit 506253e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cmake-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CMake Windows

# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
Expand All @@ -18,7 +18,7 @@ jobs:
config:
- {
name: "Windows Latest MSVC", artifact: "Windows-MSVC.tar.xz",
os: windows-latest,
os: windows-2019,
build_type: "Release", cc: "cl", cxx: "cl",
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
}
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
set(ninja_version "1.9.0")
set(cmake_version "3.16.2")
message(STATUS "Using host CMake version: ${CMAKE_VERSION}")
if ("${{ runner.os }}" STREQUAL "Windows")
Expand Down

0 comments on commit 506253e

Please sign in to comment.