Skip to content

Commit 6728c57

Browse files
committed
more installs, set envvars, etc
1 parent 02660a3 commit 6728c57

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/conan.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Install conan
7474
uses: crazy-max/ghaction-chocolatey@v3
7575
with:
76-
args: install -y conan cmake
76+
args: install -y conan cmake git 7zip jq
7777

7878
# Ensures that things installed with choco are visible to us
7979
- name: refresh env
@@ -92,8 +92,14 @@ jobs:
9292
- name: Create package
9393
shell: powershell
9494
run: |
95+
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
96+
refreshenv
9597
conan profile detect
9698
conan create . --build=missing -s compiler.cppstd=17
99+
with:
100+
env:
101+
CONAN_USER_HOME: c:/cache
102+
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths
97103

98104
build_macos:
99105
if: github.repository_owner == 'viamrobotics'

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ jobs:
9393
run: |
9494
conan profile detect
9595
conan create . --build=missing -s compiler.cppstd=17
96+
with:
97+
env:
98+
CONAN_USER_HOME: c:/cache
99+
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths
96100

97101
#- name: Build
98102
#run: |

0 commit comments

Comments
 (0)