Skip to content

Commit

Permalink
Merge branch 'main' into add-vispy-test
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Jun 24, 2024
2 parents bba585d + 80cca60 commit e0165f4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-14, macos-13, ubuntu-latest, ubuntu-20.04, windows-2019, windows-2022]
os: [macos-14, macos-13, ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, windows-2019, windows-2022]
qt: [""]
include:
- os: ubuntu-latest
- os: ubuntu-20.04
qt: "pyqt5"
- os: ubuntu-latest
- os: ubuntu-24.04
qt: "pyqt6"
- os: windows-latest
qt: "pyqt6"
Expand Down
26 changes: 14 additions & 12 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,21 @@ branding:
runs:
using: "composite"
steps:
- name: Install Linux dependencies
- name: Update apt
if: runner.os == 'Linux'
shell: bash
# TODO: Pyvista uses `xset` which is part of x11-xserver-utils, maybe a better way to check?
run: sudo apt update && sudo apt install libgl1-mesa-glx xvfb x11-xserver-utils -y
run: sudo apt update

- name: Install Linux dependencies
if: runner.os == 'Linux'
shell: bash
run: |
sudo apt-get install -y \
libglx-mesa0 \
libgl1 \
xvfb \
x11-xserver-utils
- name: Install Linux Qt dependencies
if: runner.os == 'Linux' && inputs.qt != 'false'
Expand All @@ -29,7 +39,6 @@ runs:
sudo apt-get install -y \
libdbus-1-3 \
libegl1 \
libegl1-mesa \
libopengl0 \
libosmesa6 \
libxcb-cursor0 \
Expand Down Expand Up @@ -64,14 +73,7 @@ runs:
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
sleep 3
- name: Configure for PyVista on Linux and macOS
if: runner.os != 'Windows' && inputs.pyvista != 'false'
- name: Configure for PyVista
if: inputs.pyvista != 'false'
shell: bash
run: echo "PYVISTA_OFF_SCREEN=true" >> $GITHUB_ENV

- name: Configure for PyVista on Windows
if: runner.os == 'Windows' && inputs.pyvista != 'false'
shell: powershell
run: |
chcp 65001 #set code page to utf-8
echo "PYVISTA_OFF_SCREEN=true" >> $env:GITHUB_ENV
10 changes: 0 additions & 10 deletions linux/setup.sh

This file was deleted.

0 comments on commit e0165f4

Please sign in to comment.