Skip to content

Commit 9b767e1

Browse files
committed
ci: run on ubuntu 22.04
1 parent 3450df0 commit 9b767e1

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/linux.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
name: GCC-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.components}}-${{matrix.gpu}}
8-
runs-on: ubuntu-latest
7+
name: ${{matrix.os}}-GCC-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.components}}-${{matrix.gpu}}
8+
runs-on: ${{matrix.os}}
99
defaults:
1010
run:
1111
shell: bash
@@ -15,6 +15,9 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18+
os:
19+
- ubuntu-20.04
20+
- ubuntu-22.04
1821
build_type: [Release, Debug]
1922
lib: [shared, static]
2023
components: [minimal, lgpl, gpl]
@@ -68,8 +71,8 @@ jobs:
6871
uses: actions/cache@v2
6972
with:
7073
path: ${{env.CCACHE_DIR}}
71-
key: ${{runner.os}}-ccache-${{github.run_id}}
72-
restore-keys: ${{runner.os}}-ccache-
74+
key: ${{matrix.os}}-ccache-${{github.run_id}}
75+
restore-keys: ${{matrix.os}}-ccache-
7376

7477
- name: Configure
7578
run: |

0 commit comments

Comments
 (0)