Skip to content

Commit 7ceb637

Browse files
committed
test commit
1 parent cda48ac commit 7ceb637

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/conan.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,39 @@ jobs:
4242
4343
# TODO (RSDK-10666) add windows build testing
4444

45+
build_windows:
46+
if: github.repository_owner == 'viamrobotics'
47+
needs: [prepare]
48+
runs-on: windows-latest
49+
strategy:
50+
fail-fast: false
51+
matrix:
52+
include:
53+
- target: x86_64-windows
54+
platform: windows_x86_64
55+
steps:
56+
- name: Checkout Code
57+
uses: actions/checkout@v4
58+
with:
59+
ref: ${{ needs.prepare.outputs.sha }}
60+
61+
- name: Install dependencies
62+
run: choco install -y conan git
63+
64+
- name: Create package
65+
shell: powershell
66+
# TODO (RSDK-10666) Use conan invocations rather than cmake invocations here
67+
run: |
68+
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
69+
refreshenv
70+
conan profile detect
71+
conan install . --output-folder=build-conan --build=missing -o "&:shared=False"
72+
cmake . --preset conan-default
73+
cmake --build --preset=conan-release --target ALL_BUILD install -j 8
74+
env:
75+
CONAN_USER_HOME: c:/cache
76+
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths
77+
4578
build_macos:
4679
if: github.repository_owner == 'viamrobotics'
4780
needs: [prepare]

0 commit comments

Comments
 (0)