Run Linux Github workflow on Ubuntu 22.04
Change-Id: I8a404c23d9f38bf9bd538edef933258814a91a67
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 034fa9f..445d995 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -5,7 +5,8 @@
jobs:
build:
name: ${{matrix.os}}-${{matrix.build_type}}-${{matrix.lib}}-${{matrix.threading_model}}
- runs-on: ${{matrix.os}}
+ runs-on: ubuntu-latest
+ container: ${{matrix.os}}
defaults:
run:
shell: bash -e -o pipefail {0}
@@ -17,7 +18,8 @@
fail-fast: true
matrix:
os:
- - ubuntu-20.04
+ - ubuntu:20.04
+ - ubuntu:22.04
build_type:
- Release
lib:
@@ -33,8 +35,8 @@
- name: Setup Dependencies
run: |
- sudo apt-get update
- sudo apt-get install -y \
+ apt-get update
+ apt-get install -y \
build-essential \
ccache \
cmake \