Skip to content
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

Request: armv8 support #368

Closed
vegerot opened this issue Sep 15, 2020 · 7 comments
Closed

Request: armv8 support #368

vegerot opened this issue Sep 15, 2020 · 7 comments

Comments

@vegerot
Copy link

vegerot commented Sep 15, 2020

We have a GitLab Runner with a config like

image: cypress/base:latest

stages:
  - build
  - test
  # - cypress-e2e
  - develop-push

# to cache both npm modules and Cypress binary we use environment variables
# to point at the folders we can list as paths in "cache" job settings
variables:
  npm_config_cache: "$CI_PROJECT_DIR/.npm"
  CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress"

# cache using branch name
cache:
  key: "$CI_BUILD_REF_NAME"
  paths:
    - node_modules/
    - dist/
    - .npm
    - cache/Cypress


before_script:
  - set -x
  - npm install

build:
  stage: build
  script:
    - npm run build
  except:
    - tags

When we get to the build stage (or any stage), I get the following error:

�[0KRunning with gitlab-runner 13.3.1 (738bbe5a)
�[0;m�[0K  on armv8 _xxzWQj5
�[0;msection_start:1600200125:prepare_executor
�[0K�[0K�[36;1mPreparing the "docker" executor�[0;m
�[0;m�[0KUsing Docker executor with image cypress/base:latest ...
�[0;m�[0KPulling docker image cypress/base:latest ...
�[0;m�[0KUsing docker image sha256:491f9a4380fe87119f44af2cb1c38707cc4caef45a2f8985e7d36172a780a1b4 for cypress/base:latest ...
�[0;msection_end:1600200133:prepare_executor
�[0Ksection_start:1600200133:prepare_script
�[0K�[0K�[36;1mPreparing environment�[0;m
�[0;mRunning on runner-xxzwqj5-project-1685-concurrent-0 via f8bbb7e01b02...
section_end:1600200136:prepare_script
�[0Ksection_start:1600200136:get_sources
�[0K�[0K�[36;1mGetting source from Git repository�[0;m
�[0;m�[32;1mFetching changes with git depth set to 50...�[0;m
Reinitialized existing Git repository in /builds/stuff/.git/
�[32;1mChecking out ca9cb37e as WA-750_Sidebar-plus...�[0;m

�[32;1mSkipping Git submodules setup�[0;m
section_end:1600200140:get_sources
�[0Ksection_start:1600200140:restore_cache
�[0K�[0K�[36;1mRestoring cache�[0;m
�[0;m�[32;1mChecking cache for WA-750_Sidebar-plus-1...�[0;m
No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted.�[0;m 
�[32;1mSuccessfully extracted cache�[0;m
section_end:1600200142:restore_cache
�[0Ksection_start:1600200142:step_script
�[0K�[0K�[36;1mExecuting "step_script" stage of the job script�[0;m
�[0;mstandard_init_linux.go:211: exec user process caused "exec format error"
section_end:1600200143:step_script
�[0K�[31;1mERROR: Job failed: exit code 1
�[0;m

Am I doing something wrong with my config, or is Arm not supported?

@bahmutov
Copy link
Contributor

Yeah, we are only building it for Linux amd64

@bahmutov
Copy link
Contributor

Note: Electron does build on Arm, https://www.electronjs.org/docs/tutorial/support#linux but we just never had any requests for it to justify another build for Cypress

@vegerot
Copy link
Author

vegerot commented Sep 15, 2020

Well here's one! 😆

@bahmutov
Copy link
Contributor

Understood @vegerot - here is the principal issue for building Cypress on Arm cypress-io/cypress#4478

@vegerot
Copy link
Author

vegerot commented Sep 15, 2020

The main issue is that GitHub CI doesn't support it?

@bahmutov
Copy link
Contributor

bahmutov commented Sep 15, 2020 via email

@SarcevicAntonio
Copy link

SarcevicAntonio commented Jun 8, 2021

ARM support would be a godsend.

We are running a project in university and using Raspberry Pis as CI runners. Now I have to switch e2e tools (again) :c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants