Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
CI: add step to configure msbuild on Windows
Browse files Browse the repository at this point in the history
and use fixed Windows 2019
  • Loading branch information
lukaszstolarczuk committed Jul 25, 2022
1 parent f177676 commit f5aba20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5aba20

Please sign in to comment.