Skip to content

Commit 805217d

Browse files
committed
add MSVC 2019 x64 build
1 parent e9de1b8 commit 805217d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ jobs:
3838
cxx_flags: -stdlib=libc++,
3939
exe_linker_flags: -lc++,
4040
}
41+
- {
42+
name: "Windows MSVC 2019 (x64)",
43+
os: windows-latest,
44+
cxx: "cl",
45+
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat",
46+
}
4147

4248
steps:
4349
- uses: actions/checkout@v2
@@ -89,6 +95,9 @@ jobs:
8995
# and build directories, but this is only available with CMake 3.13 and higher.
9096
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
9197
run: |
98+
# run environment setup script if any
99+
[ -n "${{ matrix.config.environment_script }}" ] && "${{ matrix.config.environment_script }}"
100+
92101
cmake $GITHUB_WORKSPACE \
93102
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
94103
-DCMAKE_CXX_STANDARD=20 \

0 commit comments

Comments
 (0)