From 26bf0f1989e5a2b1513332e8d8678eed18120889 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Tue, 18 Jun 2024 12:00:34 -0400 Subject: [PATCH] wrap qt app install command, add 4 more libs (#14) --- action.yml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index e307a93..05148bd 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ -name: 'setup-headless-display-action' -description: 'Setup a headless display on Linux and Windows' +name: "setup-headless-display-action" +description: "Setup a headless display on Linux and Windows" author: PyVista Developers' inputs: pyvista: @@ -11,12 +11,11 @@ inputs: required: false default: false branding: - icon: 'monitor' - color: 'blue' + icon: "monitor" + color: "blue" runs: using: "composite" steps: - - name: Install Linux dependencies if: runner.os == 'Linux' shell: bash @@ -26,7 +25,26 @@ runs: - name: Install Linux Qt dependencies if: runner.os == 'Linux' && inputs.qt != 'false' shell: bash - run: sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1 libosmesa6 mesa-utils libxcb-shape0 libxcb-cursor0 + run: | + sudo apt-get install -y \ + libdbus-1-3 \ + libegl1 \ + libegl1-mesa \ + libopengl0 \ + libosmesa6 \ + libxcb-cursor0 \ + libxcb-icccm4 \ + libxcb-image0 \ + libxcb-keysyms1 \ + libxcb-randr0 \ + libxcb-render-util0 \ + libxcb-shape0 \ + libxcb-xfixes0 \ + libxcb-xinerama0 \ + libxcb-xinput0 \ + libxkbcommon-x11-0 \ + mesa-utils \ + x11-utils - name: Install Windows GL Dependencies if: runner.os == 'Windows'