Skip to content

Multi-arch CI #477

Open
Open
@philberty

Description

@philberty

travis offers CI for multiple architectures, we should make an automation for things in master to do a non bootstrap build and run the test suite. Something like this could be the starting point:

language: c

arch:
  - amd64
  - ppc64le
  - s390x
  - arm64
  
os: linux

before_install:
  - sudo apt-get install -y automake autoconf libtool autogen bison flex libgmp3-dev libmpfr-dev libmpc-dev build-essential gcc-multilib g++-multilib dejagnu

script:
  - mkdir -p gccrs-build;
  - cd gccrs-build; ../configure --enable-languages=rust --disable-bootstrap --enable-multilib; make -j $(nproc); make check-rust
  - cd gccrs-build; \
           if grep "# of unexpected" gcc/testsuite/rust/rust.sum;\
           then \
              echo "some tests are not correct"; \
              exit 1; \
            else \
              exit 0; \
            fi

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions