File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 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]
You can’t perform that action at this time.
0 commit comments