-
Notifications
You must be signed in to change notification settings - Fork 27
Fix conan shared builds and conan CI RSDK-9113 #309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 18 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
7ff05a7
first attempt conan ci job
lia-viam b04fc36
remove git
lia-viam f34e007
Merge branch 'main' into feature/conan-builds-ci
lia-viam 95f407e
comment out repo owner
lia-viam c5bc9a6
global install
lia-viam be04812
always set build = missing
lia-viam 6f1720e
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk
lia-viam bfefaaa
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk
lia-viam 5cd781e
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk
lia-viam b545146
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk
lia-viam e632515
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk
lia-viam 0737d3d
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk
lia-viam ad61335
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk
lia-viam 18fd299
add workflow trigger for conan job on conan changes
lia-viam 9bc4590
add debug line
lia-viam 08bbba3
remove debug print
lia-viam e8ac51c
update conanfile to propagate
lia-viam a6c82c9
remove broken conditional logic
lia-viam 9421a42
remove unneeded transitive
lia-viam 0d9b535
revert some conanfile changes
lia-viam fb88ff0
fix subprocess call to work on linux too
lia-viam 1d71f74
generate test package with ninja for comparison with cmake version
lia-viam 236e221
refine requires and transitivity
lia-viam 8e14240
Merge branch 'main' of github.com:viamrobotics/viam-cpp-sdk into fix/…
lia-viam ff28e8d
set env in test package conanfile
lia-viam 3af8de1
add clarifying comment
lia-viam 6e9b4d0
clean up requires and remove transitive_libs
lia-viam 569863b
try to use last successful action for workflow dispatch
lia-viam 69858fb
update comment
lia-viam f784390
document configure steps
lia-viam 26695f0
document Popen env passing
lia-viam a49f0aa
Merge branch 'main' into fix/conan-ci
lia-viam 72b9af2
Merge branch 'main' into fix/conan-ci
lia-viam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,14 @@ | ||
| name: Test conan packages | ||
|
|
||
| on: | ||
| # Run weekdays at 11:15pm UTC, and specify below to only run if there's been new commits | ||
| # Run weekdays at 11:15pm UTC | ||
| schedule: | ||
| - cron: "15 11 * * 1-5" | ||
| workflow_dispatch: | ||
| pull_request: | ||
| paths: | ||
| - conanfile.py | ||
| - test_package/conanfile.py | ||
|
|
||
| jobs: | ||
| prepare: | ||
|
|
@@ -14,17 +18,6 @@ jobs: | |
| - name: Checkout Code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Get new commit count | ||
| id: new_commit_count | ||
| shell: bash | ||
| run: echo "commit_count=$(git log --oneline --since '24 hours ago' | wc -l)" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Cancelling scheduled build with no new commits | ||
| uses: andymckay/[email protected] | ||
| if: | | ||
| steps.new_commit_count.outputs.commit_count == '0' && | ||
| github.event_name == 'schedule' | ||
|
|
||
acmorrow marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| build_macos: | ||
| if: github.repository_owner == 'viamrobotics' | ||
| needs: [prepare] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.