Skip to content

Conversation

@leodido
Copy link
Contributor

@leodido leodido commented Mar 8, 2023

This PR introduces a CI workflow that compiles the source code to v8 bytecode (via pkg).

It runs on a Linux host with QEMU emulation to generate executables for all supported architectures and platforms as per docs.

Cons

  • It's 20x slower than the actual building system (that uses --no-bytecode flag)

Pros

  • It may enable us to use ldid to sign all the binaries
  • It may enable us to simplify and speed up the release process
    • The post-build hooks would move the built binaries to the GoReleaser destination folders

  • I have read the contributing guidelines
  • I have written unit tests
  • I have made sure that the pull request is of reasonable size and can be easily reviewed

@reviewpad reviewpad bot added small Pull request is small ci labels Mar 8, 2023
@reviewpad
Copy link

reviewpad bot commented Mar 8, 2023

Reviewpad Report

⚠️ Warnings

  • Please link an issue to the pull request

…eing written to the output file

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@leodido leodido force-pushed the ci/build-bytecode branch from e0353ee to 81f719b Compare March 8, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci small Pull request is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants