6 ms·
Normally you install C/C++ libraries via system package manager like apt, or via your own script. So in deltaci's config it will look like this: steps:
by thinkafterbef 6y ago
Normally you install C/C++ libraries via system package manager like apt, or via your own script.
So in deltaci's config it will look like this:
steps:
- run: apt install -y libxyz-1.1
when: first_run
or
steps:
- run: wget http://libxyz-1.1.tar.gz && tar zxvf libxyz-1.1.tar.gz && cd libxyz-1.1 && make && make install
when: first_run
In our past experience, this is one of downside of self-hosted runners as you have to remove libxyz-1.1 manually. this is actually one of the reason why we wanted to make DeltaCI.
It's currently solved like this, as soon as you replace libxyz-1.1 with libxyz-1.2, our system notice that the config has changed, it will execute it from a fresh environment instead trying to reuse previous building agent.