Skip to content

Commit 95bed39

Browse files
committed
ci:windows: "$HOME" needed
1 parent 0a312ba commit 95bed39

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci_windows.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ env:
44
CTEST_NO_TESTS_ACTION: error
55
CTEST_PARALLEL_LEVEL: 0
66
CMAKE_BUILD_PARALLEL_LEVEL: 4
7-
CMAKE_INSTALL_PREFIX: ~/libs
8-
CMAKE_PREFIX_PATH: ~/libs
97

108
on:
119
push:
@@ -27,6 +25,11 @@ jobs:
2725
timeout-minutes: 30
2826
runs-on: windows-latest
2927

28+
# Windows needs these defined within the job for $HOME
29+
env:
30+
CMAKE_INSTALL_PREFIX: $HOME/libs
31+
CMAKE_PREFIX_PATH: $HOME/libs
32+
3033
steps:
3134
- uses: msys2/setup-msys2@v2
3235
with:

0 commit comments

Comments
 (0)