Skip to content
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

Fix examples that were using filter #1402

Merged
merged 1 commit into from
Jan 21, 2023
Merged

Fix examples that were using filter #1402

merged 1 commit into from
Jan 21, 2023

Conversation

dellaert
Copy link
Member

Cherry-picked from c71d07b
Fixes issue #1400

Copy link
Collaborator

@varunagrawal varunagrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@gchenfc gchenfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might have been obvious to others, but I just realized that the reason #1398 (and #1397) passed CI check (special cases CI - deprecated) is because CI is never compiling examples. Even though the ci scripts have a flag to compile examples (-b ):

case $1 in
-b)
build
;;
-t)
test
;;
esac

function build ()
{
export GTSAM_BUILD_EXAMPLES_ALWAYS=ON
export GTSAM_BUILD_TESTS=OFF

function test ()
{
export GTSAM_BUILD_EXAMPLES_ALWAYS=OFF
export GTSAM_BUILD_TESTS=ON


all the CI's are actually only using -t:

- name: Build & Test
run: |
bash .github/scripts/unix.sh -t

Perhaps we should consider compiling the examples as well in CI, at least in e.g. release branches.

@dellaert
Copy link
Member Author

Agreed !

@dellaert dellaert merged commit 8c83e43 into release/4.2 Jan 21, 2023
@dellaert dellaert deleted the fix/examples branch January 21, 2023 23:02
@dellaert dellaert added this to the Remove BOOST milestone Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants