Skip to content

Conversation

@cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Aug 17, 2023

Adds a build for the server SDK. The changes are mostly to fix compilation issues / warnings that I encountered.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #206686: Build for mac/linux/windows in CI via Github Action.

// boost::bad_expression can be thrown by basic_regex when compiling a
// regular expression.
return false;
} catch (boost::regex_error) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Turns out boost::bad_expression (above the fold) is actually a typedef for boost::regex_error.

@cwaldren-ld
Copy link
Contributor Author

cwaldren-ld commented Aug 17, 2023

Unit test failure is because I didn't address the timestamp precision stuff yet (found by Ryan a couple weeks ago.)

@cwaldren-ld cwaldren-ld marked this pull request as ready for review August 17, 2023 17:48
@cwaldren-ld cwaldren-ld requested a review from a team August 17, 2023 17:48
@cwaldren-ld cwaldren-ld requested a review from kinyoklion August 17, 2023 17:49
<< context.Get("user", "attr") << " " << clause.op << " "
<< clause.values << " should be " << param.expected;
<< Value(clause.values) << " should be " << param.expected;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ADL ambiguity error for operator<< thrown by MSVC. Hoping this resolves the ambiguity.

TimestampTest{"2020-01-01T01:00:00.123456789+01:00",
"floor nanoseconds with offset",
BasicDate() + 123ms + 456us},

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These fail on some platforms because they do support > microsecond precision.

@cwaldren-ld cwaldren-ld merged commit a592e87 into server-side Aug 21, 2023
@cwaldren-ld cwaldren-ld deleted the cw/sc-206686/server-build-ci branch August 21, 2023 16:50
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