Skip to content

Commit 1aa81dd

Browse files
committed
chore(ci): Fixing osmesa linux CI runner failures
update apt cache before installing osmesa
1 parent b24fafb commit 1aa81dd

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ jobs:
5454
pip install --no-binary pykdtree pykdtree>=1.3.13
5555
- name: Install OSMesa for Linux
5656
if: matrix.config.os == 'ubuntu-latest'
57-
run: sudo apt-get install -y libosmesa6-dev
57+
run: |
58+
sudo apt update
59+
sudo apt-get install -y libosmesa6-dev
5860
5961
- name: Install and Run Tests (without viewer)
6062
if: matrix.config.os == 'windows-latest'

.github/workflows/test_and_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ jobs:
5555

5656
- name: Install OSMesa for Linux
5757
if: matrix.config.os == 'ubuntu-latest'
58-
run: sudo apt-get install -y libosmesa6-dev
58+
run: |
59+
sudo apt update
60+
sudo apt-get install -y libosmesa6-dev
5961
6062
- name: Install and Run Tests
6163
run: |

0 commit comments

Comments
 (0)