Skip to content

Commit 76e2f30

Browse files
Merge pull request #322 from contour-terminal/fix/windows-ci
[CI] Fixes CI building for Windows platform. N'th attempt.
2 parents 7cd5bad + edc9c29 commit 76e2f30

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,11 @@ jobs:
261261
vcpkgTriplet: x64-windows
262262
- name: "create build directory"
263263
shell: powershell
264-
run: mkdir -p build
264+
run: |
265+
If (!(Test-Path build))
266+
{
267+
New-Item -ItemType Directory -Force -Path build
268+
}
265269
- name: "Generate build files"
266270
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 .
267271
- name: "Build"

0 commit comments

Comments
 (0)