Skip to content

Commit 1e042cf

Browse files
committed
try cmake invocation for windows
1 parent 2779b50 commit 1e042cf

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/conan.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ jobs:
6161

6262
- name: Create package
6363
shell: powershell
64+
#conan create . `
65+
#--build=missing `
66+
#-o "&:shared=False"
6467
run: |
6568
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
6669
refreshenv
6770
conan profile detect
68-
conan create . `
69-
--build=missing `
70-
-o "&:shared=False"
71+
cmake . --preset conan-default
72+
cmake --build --preset=conan-release -j
7173
env:
7274
CONAN_USER_HOME: c:/cache
7375
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@ jobs:
5959

6060
- name: Create package
6161
shell: powershell
62+
#conan create . `
63+
#--build=missing `
64+
#-o "&:shared=False"
6265
run: |
6366
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
6467
refreshenv
6568
conan profile detect
66-
conan create . `
67-
--build=missing `
68-
-o "&:shared=False"
69+
cmake . --preset conan-default
70+
cmake --build --preset=conan-release -j
6971
env:
7072
CONAN_USER_HOME: c:/cache
7173
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths

0 commit comments

Comments
 (0)