Skip to content

Commit

Permalink
Remove downgrade hack for mesa (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
angus-g authored Jul 12, 2024
1 parent 87f3910 commit d9fbdad
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,9 @@ jobs:
with:
repository: g-adopt/g-adopt
path: tutorials
- name: Make previous version of Mesa available
run: |
sed 's/noble/mantic/g' /etc/apt/sources.list.d/ubuntu.sources | sudo tee /etc/apt/sources.list.d/mantic.sources > /dev/null
sudo apt update
sudo apt remove -y libx11-6
sudo apt -t mantic install -y --allow-downgrades libglx-mesa0=23.2.1-1ubuntu3.1 libglapi-mesa=23.2.1-1ubuntu3.1 libgl1-mesa-dri=23.2.1-1ubuntu3.1 libx11-6=2:1.8.6-1ubuntu1
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y xvfb gmsh
. /home/firedrake/firedrake/bin/activate
python3 -m pip install nbval nbconvert jupytext
Expand All @@ -44,6 +39,7 @@ jobs:
. /home/firedrake/firedrake/bin/activate
export DISPLAY=:99
export PYVISTA_OFF_SCREEN=true
export LIBGL_ALWAYS_SOFTWARE=true
Xvfb $DISPLAY -screen 0 1024x768x24 > /dev/null 2>&1 &
sleep 3
make -j -C tutorials convert_demos
Expand Down

0 comments on commit d9fbdad

Please sign in to comment.