Hi,
I'm getting started in unit testing and I've been running the unit tests in my local machine. I've "successfully" added a CI job in Gitlab and the test runs as expected, below my CI configuration file:
before_script:
- apt -y install automake autoconf libtool git
run-unit-tests:
script:
- cd cpputest
- autoreconf . -i
- ./configure
- make tdd
- export CPPUTEST_HOME=$(pwd)
- cd ..
- cd NRF24
- make
Each time the script runs it builds cpputest (because I'm currently using MakefileWorker.mk), then it clones my repo and runs the unit tests.
Does anybody knows if there's a way to "cache" the cpputest v4.0 build so I don't have to build it everytime?
Or installing cpputest and not being able to use the MakefileWorker is my only hope to avoid building it every time the script runs?
Regards
Carlos