browser-actions / setup-chrome

Set up your GitHub Actions workflow with a specific version of chromium
https://github.com/marketplace/actions/setup-chrome
MIT License
155 stars 63 forks source link

Install chromium on ARM Linux 64 #510

Open navidemad opened 7 months ago

navidemad commented 7 months ago

I tried each channel input through a matrix in my github action on a self hosted runner.

$> uname -a
Linux ubuntu 5.15.0-84-generic #93-Ubuntu SMP Tue Sep 5 17:18:46 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Attempting to download stable...
Acquiring stable from https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Installing chromium...
/usr/bin/ar x /home/runner/actions-runner/_work/_temp/8a74a472-51ef-4214-b5a7-bcc0aecc9435
/usr/bin/tar -xf /tmp/deb-2ssm7q/data.tar.xz --directory /tmp/chrome-KPYDZd --strip-components 4 ./opt/google
Successfully Installed chromium to /opt/hostedtoolcache/chromium/stable/arm64
/tmp/chrome-KPYDZd/chrome --version
/tmp/chrome-KPYDZd/chrome: 1: Syntax error: ")" unexpected
Error: The process '/tmp/chrome-KPYDZd/chrome' failed with exit code 2
Run browser-actions/setup-chrome@latest
Setup chromium beta
Attempting to download beta...
Acquiring beta from https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb
Installing chromium...
/usr/bin/ar x /home/runner/actions-runner/_work/_temp/bca453e9-e2f2-4dcd-a48f-b35586ef5eab
/usr/bin/tar -xf /tmp/deb-EmLAHT/data.tar.xz --directory /tmp/chrome-QgpTT2 --strip-components 4 ./opt/google
Successfully Installed chromium to /opt/hostedtoolcache/chromium/beta/arm64
/tmp/chrome-QgpTT2/chrome --version
/tmp/chrome-QgpTT2/chrome: 15: Syntax error: Unterminated quoted string
Error: The process '/tmp/chrome-QgpTT2/chrome' failed with exit code 2
Run browser-actions/setup-chrome@latest
Setup chromium dev
Attempting to download dev...
Acquiring dev from https://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb
Installing chromium...
/usr/bin/ar x /home/runner/actions-runner/_work/_temp/6a44785f-39ae-47b2-abb9-4f8a279997b2
/usr/bin/tar -xf /tmp/deb-8j02vP/data.tar.xz --directory /tmp/chrome-UCtrkl --strip-components 4 ./opt/google
Successfully Installed chromium to /opt/hostedtoolcache/chromium/dev/arm64
/tmp/chrome-UCtrkl/chrome --version
/tmp/chrome-UCtrkl/chrome: 1: Syntax error: Unterminated quoted string
Error: The process '/tmp/chrome-UCtrkl/chrome' failed with exit code 2
Run browser-actions/setup-chrome@latest
Setup chromium canary
Attempting to download canary...
Error: Chrome canary not supported for platform linux arm64
ueokande commented 5 months ago

Unfortunately, the setup-action we cannot ARM Linux 64 until the chrome support it. The Google Chrome currently supports only x86_64 for Linux. Please refer to this discussion as well GoogleChromeLabs/chrome-for-testing#1. Thank you.