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 f59db44
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:

windows:
name: Windows
runs-on: windows-latest
runs-on: windows-2019

env:
platform: x64
Expand All @@ -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 f59db44

Please sign in to comment.