let's check and install only package is required
---
 .github/workflows/vtest.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml
index f862dc5a7..5208df757 100644
--- a/.github/workflows/vtest.yml
+++ b/.github/workflows/vtest.yml
@@ -82,10 +82,10 @@ jobs:
       run: |
         sudo apt-get update
         sudo apt-get --no-install-recommends -y install \
-          liblua5.4-dev \
-          libpcre2-dev \
-          libsystemd-dev \
-          ninja-build \
+          ${{ contains(matrix.FLAGS, 'USE_LUA=1')     && 'liblua5.4-dev'  || 
'' }} \
+          ${{ contains(matrix.FLAGS, 'USE_PCRE2=1')   && 'libpcre2-dev'   || 
'' }} \
+          ${{ contains(matrix.FLAGS, 'USE_SYSTEMD')   && 'libsystemd-dev' || 
'' }} \
+          ${{ contains(matrix.ssl,   'BORINGSSL=yes') && 'ninja-build'    || 
'' }} \
           socat \
           gdb
     - name: Install brew dependencies
-- 
2.43.0.windows.1


Reply via email to