-
Notifications
You must be signed in to change notification settings - Fork 12
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
Added CPU architecture detection and option #101
Conversation
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.
Looks great! Just a few small suggested changes and I'll be happy to merge it 💪
Take a look at the CI as well and make sure the build succeeds.
Thanks for the contribution!
@michael-picard Hi, just pinging you in case you didn't get a notification of my review. Good work so far, just a few small changes required! |
Co-authored-by: Daniël Brekelmans <dbrekelmans@users.noreply.github.com>
Co-authored-by: Daniël Brekelmans <dbrekelmans@users.noreply.github.com>
Hi @dbrekelmans sorry fo the late reply, I got swamped this week, I'm gonna work on this today. |
@dbrekelmans I tried to run the pull_request CI locally using act but it fails on |
If you could just resolve the PHPStan and PHPCS failures, I'll take care of the QA checks after merging. You can run these tools locally by running |
Hi @dbrekelmans , it's done. |
7aa91ab
to
2c4c920
Compare
Hi @dbrekelmans I reran phpcbf for browser-driver-installer/src/Cpu/CpuArchitecture.php, looks like the volume mounting of Docker was getting in the way, I had to do remove the extra space manually. |
Thanks @michael-picard! |
This PR adds the ability to pass --arch=arm64 option when installing drivers.
The cpu architecture is detected automatically in DriverFactory::createFromBrowser().
As of today, there is no chromedriver for Linux and arm64 :