#40 base commit for travisCI auto testing Pull req...
# open_pdks
g
#40 base commit for travisCI auto testing Pull request opened by agorararmard This is a working travisCI testing setup for open_pdks. This should check all pushes and pull requests to make sure that nothing breaks the build. currently, the jobs are: 1. build hd library alone 2. hs 3. ms 4. hdll 5. ls 6. build all libraries together. More jobs should be added when more libraries are added to the skywater-pdk public repo. What it does: 1. build a magic docker container. 2. clone skywater-pdk and update the desired submodule 3. build open_pdks (invoke configure and make, from within the docker container) 4. Check if any fatal error happened during the build. 5. Check if the produced files have a sensible size (bigger than 250MB) What you need to do to activate this from your side (@RTimothyEdwards): 1. go to https://travis-ci.com signup with your github account and link it. That's it, enjoy the dashboard and the green ticks. I'll be maintaining it every once and a while, if anything needs to be changed or added to the setup. One downside of it is that you'll have to email support@travis-ci.com and tell them:
Copy code
Dears,
   One job in my test-suite is long by nature because it builds multiple libraries using the tool in this repo: <https://github.com/RTimothyEdwards/open_pdks>

So, Could you increase the timeout for a job? Because 50 minutes is too short for us, and we cannot reduce the runtime in any way. Also, if you could increase the maximum job log to 5 or 6 MB.

My account name is: RTimothyEdwards
This is because the build process of job 6 (all the libraries together) takes about an hour, and produces a log that is bigger than 4MB (the maximum allowed). For now, I set job 6 as an (allow_failures) job because it will eventually timeout, but at the same time, it would be useful to see if it broke/failed before it times out. This tests the version on github only, and is activated on PRs and pushes to any of the branches. Let me know if you want me to change/enhance/update anything! RTimothyEdwards/open_pdks