Skip to content

Commit

Permalink
Merge pull request #322 from contour-terminal/fix/windows-ci
Browse files Browse the repository at this point in the history
[CI] Fixes CI building for Windows platform. N'th  attempt.
  • Loading branch information
christianparpart committed Jul 17, 2021
2 parents 7cd5bad + edc9c29 commit 76e2f30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,11 @@ jobs:
vcpkgTriplet: x64-windows
- name: "create build directory"
shell: powershell
run: mkdir -p build
run: |
If (!(Test-Path build))
{
New-Item -ItemType Directory -Force -Path build
}
- name: "Generate build files"
run: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="${{ runner.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -DYAML_BUILD_SHARED_LIBS=OFF -DCONTOUR_EXAMPLES=OFF -DLIBTERMINAL_TESTING=ON -DLIBUNICODE_TESTING=ON -DYAML_CPP_BUILD_CONTRIB=OFF -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DYAML_CPP_INSTALL=OFF -B build .
- name: "Build"
Expand Down

0 comments on commit 76e2f30

Please sign in to comment.