File tree Expand file tree Collapse file tree 2 files changed +50
-37
lines changed Expand file tree Collapse file tree 2 files changed +50
-37
lines changed Original file line number Diff line number Diff line change 4040 github.event_name == 'schedule' &&
4141 steps.git_info.outputs.current_commit == steps.last_successful_commit.outputs.commit-hash
4242
43+ build_windows :
44+ if : github.repository_owner == 'viamrobotics'
45+ needs : [prepare]
46+ runs-on : windows-latest
47+ strategy :
48+ fail-fast : false
49+ matrix :
50+ include :
51+ - target : aarch64-apple-darwin
52+ platform : macosx_arm64
53+ - target : x86_64-apple-darwin
54+ platform : macosx_x86_64
55+ steps :
56+ - name : Checkout Code
57+ uses : actions/checkout@v4
58+
59+ - name : Install cmake
60+ uses : ssrobins/install-cmake@v1
61+ with :
62+ version : 3.27.2
63+
64+ - name : Install python
65+ uses : actions/setup-python@v5
66+ with :
67+ python-version : ' 3.12'
68+
69+ - name : Install Scoop
70+ uses :
MinoruSekine/[email protected] 71+
72+ - name : install buf 'n stuff # the official way to install somehow lol
73+ run : scoop install buf ninja
74+
75+ - name : install conan
76+ run : py -m pip install conan
77+
78+ # - name: Install dependencies
79+ # run: |
80+ # chocolatey install
81+ # #brew install python ninja
82+ # py -m pip install conan
83+
84+ - name : Create package
85+ run : |
86+ conan profile detect
87+ conan create . --build=missing -s compiler.cppstd=17
88+
4389 build_macos :
4490 if : github.repository_owner == 'viamrobotics'
4591 needs : [prepare]
Original file line number Diff line number Diff line change 11name : Build + draft release
22
33on :
4- pull_request :
4+ # pull_request:
55 workflow_dispatch :
66
77# (erodkin) this is needed to create the release, per https://github.com/softprops/action-gh-release/issues/236
@@ -53,43 +53,10 @@ jobs:
5353 with :
5454 ref : ${{ needs.prepare.outputs.sha }}
5555
56- - name : Install Boost
57- uses : MarkusJx/install-boost@v2
58- id : install-boost
59- with :
60- boost_version : 1.86.0
61-
62- - name : Install cmake
63- uses : ssrobins/install-cmake@v1
64- with :
65- version : 3.27.2
66-
67- - name : Install Conda
68- uses : conda-incubator/setup-miniconda/@v3
69- with :
70- miniconda-version : " latest"
71-
72- - name : Install xtensor
73- shell : powershell
74- run : conda install -c conda-forge xtensor
75-
76- - name : Install grpc
77- shell : powershell
78- run : |
79- git clone https://github.com/microsoft/vcpkg.git
80- cd vcpkg; .\bootstrap-vcpkg.bat
81- .\vcpkg integrate install
82- .\vcpkg install grpc
83-
84- # - name: Install gRPC
85- # uses: eWaterCycle/setup-grpc@v5
56+ # - name: Install dependencies
57+ # uses: crazy-max/ghaction-chocolatey@v3
8658 # with:
87- # grpc-version: 1.71.0
88-
89- - name : Install dependencies
90- uses : crazy-max/ghaction-chocolatey@v3
91- with :
92- args : install protoc pkgconfiglite
59+ # args: install protoc pkgconfiglite
9360
9461 - name : Install Scoop
9562 uses :
MinoruSekine/[email protected]
You can’t perform that action at this time.
0 commit comments