We currently build gtest in /usr/bin/... with every CI job on ubuntu. This PR removes this and uses our own external project instead. This way, we only build gtest if necessary and then cache these builds with ccache (saving some CI time).
libcln-dev \
libedit-dev \
libgmp-dev \
- libgtest-dev \
libtinfo-dev \
flex \
libfl-dev \
flexc++
python3 -m pip install pexpect setuptools toml
- cd /usr/src/googletest
- sudo cmake .
- sudo cmake --build . --target install
- cd -
# Make ImageVersion accessible as env.image_version. Environment
# variables of the runner are not automatically imported:
#