AppVeyor - don't rebuild srmio each time

We cache srmio build for Linux and macOS,
it is not used for Windows builds.

After qwt rebuild the build is terminated
to ensure the cache update, an errer will
indicate it is necessary a manual restart
to continue the build.

These changes are intended avoid cancellations
due to the 1hr hard runtime limit.
This commit is contained in:
Alejandro Martinez
2025-05-05 18:33:07 -03:00
parent 969f8c22d3
commit 977201243f
3 changed files with 24 additions and 12 deletions

View File

@@ -26,11 +26,15 @@ if [ -z "$(ls -A D2XX)" ]; then
fi
# SRMIO
git clone https://github.com/rclasen/srmio.git
if [ -z "$(ls -A srmio)" ]; then
git clone https://github.com/rclasen/srmio.git
cd srmio
sh genautomake.sh
./configure --disable-shared --enable-static
make --silent -j2
cd ..
fi
cd srmio
sh genautomake.sh
./configure --disable-shared --enable-static
make --silent -j3
sudo make install
cd ..