From 405f21ae0c82256ff8bf5296903f6ae22d21ddbd Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sun, 12 Dec 2021 13:23:28 +0200 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 . --- .act-github/workflows/use-github-actions.yml | 2 +- .appveyor.yml | 2 +- .github/workflows/use-github-actions.yml | 2 +- .github/workflows/windows-x64.yml | 4 ---- .travis.yml | 2 +- 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.act-github/workflows/use-github-actions.yml b/.act-github/workflows/use-github-actions.yml index 2efa0ed..1f06d0c 100644 --- a/.act-github/workflows/use-github-actions.yml +++ b/.act-github/workflows/use-github-actions.yml @@ -18,7 +18,7 @@ jobs: } ; local_lib_shim ; cpanm App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy Test::Code::TidyAll - Test::Differences Test::RunValgrind Test::Trap + Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap - run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)"; } ; local_lib_shim ; true - run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)"; diff --git a/.appveyor.yml b/.appveyor.yml index 7194f55..098f2fa 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -23,7 +23,7 @@ install: - SET PERL_LOCAL_LIB_ROOT=C:/Perl5 - SET PERL_MB_OPT=--install_base C:/Perl5 - SET PERL_MM_OPT=INSTALL_BASE=C:/Perl5 - - cpanm --notest App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount Env::Path File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy String::ShellQuote Test::Code::TidyAll Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap + - cpanm --notest App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy Test::Code::TidyAll Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap - if not exist C:\libtap mkdir C:\libtap - copy C:\msys64\mingw64\bin\mingw32-make.exe C:\msys64\mingw64\bin\make.exe # - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH% diff --git a/.github/workflows/use-github-actions.yml b/.github/workflows/use-github-actions.yml index 2efa0ed..1f06d0c 100644 --- a/.github/workflows/use-github-actions.yml +++ b/.github/workflows/use-github-actions.yml @@ -18,7 +18,7 @@ jobs: } ; local_lib_shim ; cpanm App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy Test::Code::TidyAll - Test::Differences Test::RunValgrind Test::Trap + Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap - run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)"; } ; local_lib_shim ; true - run: local_lib_shim() { eval "$(perl -Mlocal::lib=$HOME/perl_modules)"; diff --git a/.github/workflows/windows-x64.yml b/.github/workflows/windows-x64.yml index 9247c0a..7534f00 100644 --- a/.github/workflows/windows-x64.yml +++ b/.github/workflows/windows-x64.yml @@ -34,8 +34,6 @@ jobs: Code::TidyAll::Plugin::TestCount - Env::Path - File::Find::Object List::Util @@ -46,8 +44,6 @@ jobs: Perl::Tidy - String::ShellQuote - Test::Code::TidyAll Test::Differences diff --git a/.travis.yml b/.travis.yml index be83313..0870189 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ addons: before_install: - cpanm local::lib - eval "$(perl -Mlocal::lib=$HOME/perl_modules)" - - cpanm App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy Test::Code::TidyAll Test::Differences Test::RunValgrind Test::Trap + - cpanm App::Docmake Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::Flake8 Code::TidyAll::Plugin::TestCount File::Find::Object List::Util Path::Tiny Perl::Critic Perl::Tidy Test::Code::TidyAll Test::Differences Test::RunValgrind Test::TrailingSpace Test::Trap cache: directories: - $HOME/perl_modules -- 2.40.0