-
Notifications
You must be signed in to change notification settings - Fork 645
chore(ci): run tests on both amd64 and arm64 #3889
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
Conversation
8be1d3a
to
412607f
Compare
I think we can remove |
5fa7bb6
to
71faf6c
Compare
121fb6f
to
544761c
Compare
- name: Install node-canvas | ||
run: sudo apt-get update && sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for cypress, not our frontend. This is not required for amd64
, but I added it there as well just in case – frankly, it doesn't matter what exactly version of canvas we use in cypress, but I think it's better to keep steps identical
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work
.github/workflows/e2e.yaml
Outdated
- arch: amd64 | ||
runner: ubuntu-latest | ||
- arch: arm64 | ||
runner: github-hosted-ubuntu-arm64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to this https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/ this image might be free/cheaper
- arch: amd64 | |
runner: ubuntu-latest | |
- arch: arm64 | |
runner: github-hosted-ubuntu-arm64 | |
- arch: amd64 | |
runner: ubuntu-24.04 | |
- arch: arm64 | |
runner: ubuntu-24.04-arm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL Azure Cobalt 100
5091c21
to
3f565dd
Compare
* run tests on both amd64 and arm64 * use ubuntu-24.04 runners
regular path
only. The canvas library cypress depends on is not released forlinux/arm64
, so I had to add some dependencies.linux/amd64
. As long as we don't have arch-dependent code, this is fine. Let me know if you want to enable linting for arm64 as well.Resolves #3880