Skip to content

Add CodeBuild CI workflow for ARM on Lambda #150

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

Closed
bmoffatt opened this issue Jun 30, 2022 · 1 comment
Closed

Add CodeBuild CI workflow for ARM on Lambda #150

bmoffatt opened this issue Jun 30, 2022 · 1 comment

Comments

@bmoffatt
Copy link
Collaborator

Confirmed that this works on my M1 Mac. Before merging, I also want to check that this works on Linux aarch64, as that's not currently covered by the test workflows

Originally posted by @bmoffatt in #144 (comment)


probably easy enough to re-upload arm versions of the Ubuntu and Alpine Docker images for the CodeBuild workflows, but may need to adjust how the test cases create the Lambda functions

@bmoffatt
Copy link
Collaborator Author

funcode.SetZipFile(std::move(zip_file_bytes));
create_function_request.SetCode(std::move(funcode));
create_function_request.SetRuntime(Aws::Lambda::Model::Runtime::provided);
auto outcome = m_lambda_client.CreateFunction(create_function_request);

Test case now needs to set the architecture for the function, otherwise it defaults to x86

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

No branches or pull requests

1 participant