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

Update runtime tests to set the architecture for the function #153

Merged
merged 3 commits into from Jul 27, 2022
Merged

Update runtime tests to set the architecture for the function #153

merged 3 commits into from Jul 27, 2022

Conversation

bmoffatt
Copy link
Collaborator

Issue #, if available:

#150

Description of changes:

Also adds Dockerfile updates for the Ubuntu workflow

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bmoffatt bmoffatt changed the title Test arch Update runtime tests to set the architecture for the function Jul 26, 2022
Comment on lines +101 to +103
#ifdef __aarch64__
lambda_architectures[0] = Aws::Lambda::Model::Architecture::arm64;
#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not always include arm64?

Copy link
Collaborator Author

@bmoffatt bmoffatt Jul 27, 2022

Choose a reason for hiding this comment

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

You mean like lambda_architectures = {x86_64, arm64}? Because our API would reject it! It doesn't support multi-arch at this time.

@bmoffatt bmoffatt merged commit 095ff84 into awslabs:master Jul 27, 2022
@bmoffatt bmoffatt deleted the test-arch branch July 27, 2022 04:03
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.

None yet

2 participants