mbedtls icon indicating copy to clipboard operation
mbedtls copied to clipboard

Run tests on non-x86 platforms on Travis

Open gilles-peskine-arm opened this issue 5 years ago • 2 comments

The Travis CI service now supports Linux on some non-x86 architectures (arm64, ppc64le, s390x). I think we should make use of it and run at least make && make test, perhaps even a few all.sh components.

This is an alpha feature, but it's pretty simple to use so we could add it, and remove it if it breaks.

To keep the load roughly constant, and to keep the number of jobs below 5 (because the free service only allows 5 concurrent jobs and it's nicer if all the jobs of a build can run in parallel), we should remove something. I think that the depends tests have limited value on Travis, so we could remove the job “check compilation guards” .

gilles-peskine-arm avatar Sep 08 '20 20:09 gilles-peskine-arm

Btw the arm64 offering on Travis include processors with the crypto extensions, which would be nice to have if we ever get around to reviewing and merging support for those extensions. https://blog.travis-ci.com/2020-09-11-arm-on-aws https://github.com/aws/aws-graviton-getting-started

mpg avatar Dec 29 '20 14:12 mpg

We did not proceed with this because we were running Travis only on public branches, not on restricted branches, and we didn't want to have a CI that we couldn't run on restricted branches: it meant that a security fix could cause the CI to fail after we publish it.

But now, we're using a paid Travis service and we do run it on restricted branches, so this objection no longer stands.

At this time, per the Travis documentation, arm64 Graviton2 is available for private builds, but s390 is only available for open-source builds.

gilles-peskine-arm avatar Sep 15 '22 11:09 gilles-peskine-arm

Arm64 host builds have been added

yuhaoth avatar Apr 06 '23 07:04 yuhaoth