Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9642989

Browse files
authored
update github workflows, update actions versions and libegl1-mesa is not longer in ubuntu 24.04 (#651)
1 parent 8409523 commit 9642989

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
- name: Install git-lfs
3434
run: |
3535
sudo apt install --no-install-recommends -y git-lfs
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
- name: Set up Python
38-
uses: actions/setup-python@v3
38+
uses: actions/setup-python@v5
3939
with:
4040
python-version: ${{ matrix.pyversion }}
4141
- name: Install llvmpipe and lavapipe for offscreen canvas
4242
run: |
4343
sudo apt-get update -y -qq
44-
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
44+
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
4545
- name: Install dev dependencies
4646
run: |
4747
python -m pip install --upgrade pip setuptools
@@ -63,7 +63,7 @@ jobs:
6363
WGPU_FORCE_OFFSCREEN=1 pytest -v tests/
6464
pytest -v examples
6565
FASTPLOTLIB_NB_TESTS=1 pytest --nbmake examples/notebooks/
66-
- uses: actions/upload-artifact@v3
66+
- uses: actions/upload-artifact@v4
6767
if: ${{ failure() }}
6868
with:
6969
name: screenshot-diffs
@@ -90,15 +90,15 @@ jobs:
9090
- name: Install git-lfs
9191
run: |
9292
sudo apt install --no-install-recommends -y git-lfs
93-
- uses: actions/checkout@v3
93+
- uses: actions/checkout@v4
9494
- name: Set up Python
95-
uses: actions/setup-python@v3
95+
uses: actions/setup-python@v5
9696
with:
9797
python-version: ${{ matrix.pyversion }}
9898
- name: Install llvmpipe and lavapipe for offscreen canvas
9999
run: |
100100
sudo apt-get update -y -qq
101-
sudo apt-get install --no-install-recommends -y libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
101+
sudo apt-get install --no-install-recommends -y libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
102102
- name: Install dev dependencies
103103
run: |
104104
python -m pip install --upgrade pip setuptools
@@ -119,7 +119,7 @@ jobs:
119119
run: |
120120
WGPU_FORCE_OFFSCREEN=1 pytest -v tests/
121121
pytest -v examples
122-
- uses: actions/upload-artifact@v3
122+
- uses: actions/upload-artifact@v4
123123
if: ${{ failure() }}
124124
with:
125125
name: screenshot-diffs

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install llvmpipe and lavapipe for offscreen canvas
3636
run: |
3737
sudo apt-get update -y -qq
38-
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
38+
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
3939
- name: Install dev dependencies
4040
run: |
4141
python -m pip install --upgrade pip setuptools

.github/workflows/pypi-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
- name: Install git-lfs
2525
run: |
2626
sudo apt install --no-install-recommends -y git-lfs
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
- name: fetch git lfs files
2929
run: |
3030
git lfs fetch --all
3131
git lfs pull
3232
- name: Set up Python
33-
uses: actions/setup-python@v3
33+
uses: actions/setup-python@v5
3434
with:
3535
python-version: '3.10'
3636
- name: Install dependencies

.github/workflows/screenshots.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
- name: Install git-lfs
2121
run: |
2222
sudo apt install --no-install-recommends -y git-lfs
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- name: Set up Python 3.11
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: '3.11'
2828
- name: Install llvmpipe and lavapipe for offscreen canvas
2929
run: |
3030
sudo apt-get update -y -qq
31-
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
31+
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
3232
- name: Install dev dependencies
3333
run: |
3434
python -m pip install --upgrade pip setuptools

0 commit comments

Comments
 (0)