-
Notifications
You must be signed in to change notification settings - Fork 11
Add Travis job to build all compliance and regression tests #57
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
Conversation
e2c3ff9
to
6cc4b06
Compare
@jainvikas8 I'll make the similar changes to your suggestions in ARMmbed/mbed-os-example-psa#12 |
a0c5bc8
to
9f06721
Compare
No idea why this happened
ccache? |
eeb4f5f
to
51c6a03
Compare
f194016
to
95057e5
Compare
.travis.yml
Outdated
- sudo ln -s $(which ccache) bin/arm-none-eabi-gcc | ||
- sudo ln -s $(which ccache) bin/arm-none-eabi-g++ | ||
- export PATH="$(pwd)/bin:$PATH" | ||
- arm-none-eabi-gcc --version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes more sense to print the version in the section above "# Install arm-none-eabi-gcc" as the last command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put it here to check the arm-none-eabi-gcc -> ccache
link worked. Now we know it's working, I'll move this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
The script test_psa_target.py is used to automate the compilation of all TF-M Regression Test and PSA Compliance Test suites, for the supported targets, ARM_MUSCA_S1 and ARM_MUSCA_B1.
95057e5
to
d6ca127
Compare
Let's wait for Travis to run. I'll check if ccache works well, as there's no change in the build itself since my previous push. |
The cache hit rate is around 85% during the last CI run, so it works. |
Fixes: #36
For now, build regression and compliance tests for ARM_MUSCA_S1 and ARM_MUSCA_B1 targets.
Since there are a number of regression tests and compliance tests to build (rather than just one or two), we use the existing
test_psa_target.py
to automate them. Note that this script doesn't support choosing from release/develop/debug profiles yet.