From 01acc1f7f230c0d880a67ffe49c78febfb4958cc Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sat, 8 Jun 2019 22:20:07 +0300 Subject: [PATCH] Instruct the CI config file to inst missing deps. Install missing dependencies that are required by the build or tests. See: * https://en.wikipedia.org/wiki/Travis_CI * https://en.wikipedia.org/wiki/Continuous_integration . --- .appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index c34bd39..08447d3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -18,8 +18,8 @@ install: - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5 - cpanm --notest Env::Path IO::All Perl::Tidy Pod::Coverage::TrustPod String::ShellQuote Test::Code::TidyAll Test::Differences Test::EOL Test::Pod Test::Pod::Coverage Test::RunValgrind Test::TrailingSpace Test::Trap - git clone https://github.com/rrthomas/Recode ./recode - - C:\msys64\usr\bin\bash.exe -l -x c:/projects/fortune-mod/recode/build-aux/appveyor-install.sh - - C:\msys64\usr\bin\bash.exe -x -lc "cd c:/projects/fortune-mod/recode && ./bootstrap && ./configure --enable-silent-rules %CONFIGURE_FLAGS% && make && make install" + - C:\msys64\usr\bin\bash.exe -l -x "test -e /mingw64/include/recode.h || bash -x c:/projects/fortune-mod/recode/build-aux/appveyor-install.sh" + - C:\msys64\usr\bin\bash.exe -x -lc "test -e /mingw64/include/recode.h || cd c:/projects/fortune-mod/recode && ./bootstrap && ./configure --enable-silent-rules %CONFIGURE_FLAGS% && make && make install" build: off test_script: - set CMAKE_MAKE_PROGRAM=C:\strawberry\c\bin\gmake.exe @@ -28,6 +28,6 @@ test_script: - set CPATH=c:\mingw64\include;c:\msys64\mingw64\include - set LIBRARY_PATH=c:\mingw64\lib;c:\msys64\mingw64\lib - perl CI-testing/continuous-integration-testing.pl --gen="MSYS Makefiles" -# cache: -# - C:\Perl5 +cache: + - C:\msys64\mingw64 shallow_clone: true -- 2.40.0