Skip to content

Commit

Permalink
wrap qt app install command, add 4 more libs (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jun 18, 2024
1 parent 44d4284 commit 26bf0f1
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 26bf0f1

Please sign in to comment.