This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: add step to configure msbuild on Windows
and use fixed Windows 2019
- Loading branch information
1 parent
f177676
commit f59db44
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,7 +109,7 @@ jobs: | |
|
||
windows: | ||
name: Windows | ||
runs-on: windows-latest | ||
runs-on: windows-2019 | ||
|
||
env: | ||
platform: x64 | ||
|
@@ -119,18 +119,18 @@ jobs: | |
PMDK_VERSION: "1.9" | ||
CMAKE_TOOLCHAIN_FILE: "C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake" | ||
CMAKE_INSTALL_PREFIX: "C:\\install\\libpmemobj-cpp" | ||
MSBUILD: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\MSBuild\\Current\\Bin" | ||
strategy: | ||
matrix: | ||
BUILD_TYPE: [Debug, Release] | ||
CXX_STANDARD: [14] | ||
include: | ||
- BUILD_TYPE: RelWithDebInfo | ||
CXX_STANDARD: 17 | ||
|
||
steps: | ||
- name: Update PATH | ||
run: echo "${env:MSBUILD}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
- name: Setup MSBuild.exe | ||
uses: microsoft/[email protected] | ||
with: | ||
msbuild-architecture: ${env:ARCH} | ||
|
||
- name: Cache vcpkg packages | ||
uses: actions/cache@v1 | ||
|