emscriptem-lambda

An example of how to use Emscripten to compile C code to WebAssembly and run it in AWS Lambda

https://5fmdwn6crdimchpxeywfphd75y0jrdcg.lambda-url.us-east-1.on.aws/

Useful links:

How to run

Clone the repo

git clone git@github.com:facutk/emscriptem-lambda.git

Configure the environment

  • AWS
    • export AWS credentials
    • test command: aws sts get-caller-identity --profile <profile-name>
    • Lambda function name emscripten-lambda
  • Github
  • Local
    • .env file

Local GitHub Actions testing

brew install act
  • run the action
act --secret-file .env