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

CI: add BigEndian test target #1074

Closed
dhardy opened this issue Dec 10, 2020 · 2 comments
Closed

CI: add BigEndian test target #1074

dhardy opened this issue Dec 10, 2020 · 2 comments

Comments

@dhardy
Copy link
Member

dhardy commented Dec 10, 2020

Old Travis had this config to run tests on an emulated MIPS target. We want a test on a Big Endian platform since we have had some errors with this in the past. Help setting this up would be welcome!

    # This target catches endianness issues
    - rust: stable
      sudo: required
      dist: trusty
      services: docker
      name: "Linux (MIPS, big-endian)"
      env: TARGET=mips-unknown-linux-gnu
      install:
        - sh utils/ci/install.sh
        - source ~/.cargo/env || true

Also see #1073

@bluss
Copy link
Contributor

bluss commented Dec 11, 2020

ndarray tests on mips using this config https://github.com/rust-ndarray/ndarray/blob/3a2040d916dd892a76cf7f219c1510cf8e48f34a/.github/workflows/ci.yml#L36-L61 which you can copy as you want

@dhardy
Copy link
Member Author

dhardy commented Dec 13, 2020

Thanks @bluss. BTW you don't need cross for i686-unknown-linux-gnu but in that case you do need gcc-multilib as here.

@dhardy dhardy closed this as completed Dec 14, 2020
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

2 participants