Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.

Deploy linux arm64 release to github #77

Merged
merged 4 commits into from
Mar 28, 2022
Merged

Deploy linux arm64 release to github #77

merged 4 commits into from
Mar 28, 2022

Conversation

ntkme
Copy link
Contributor

@ntkme ntkme commented Mar 2, 2022

This PR uses docker+qemu to build native arm64 release and push to github.

We can also use qemu to build native arm release but currently blocked by dart-lang/sdk#48665 so I have leaved it commented out.

@ntkme ntkme marked this pull request as ready for review March 25, 2022 23:45
Comment on lines +141 to +145
- uses: arduino/setup-protoc@v1
with: { version: "${{ env.protoc_version }}", repo-token: "${{ github.token }}" }
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- run: dart run grinder protobuf
Copy link
Contributor

Choose a reason for hiding this comment

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

Will the protobuf files generated by these tasks be visible inside the Docker container, or should we run the protobuf compiler in there instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The generated file is inside workspace, so that it will be available in container. It is easier this way rather than installing protoc inside the container.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is an example of using this method to run pkg-standalone-linux-arm64:

https://github.com/ntkme/dart-sass-embedded/runs/5700309782?check_suite_focus=true

@nex3 nex3 merged commit 38451a4 into sass:main Mar 28, 2022
@ntkme ntkme deleted the pkg-github-linux-arm64 branch March 28, 2022 22:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants