Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrap qt app install command, add 4 more libs #14

Merged
merged 14 commits into from
Jun 18, 2024
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