Add ubuntu 22.04 to CI workflow (#1169)
- run-tests: test ubuntu 22.04 with python 3.x - install.sh: add cgroupfs-mount to dependencies
This commit is contained in:
@@ -9,8 +9,13 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04]
|
||||
python-version: [3.x, 2.x]
|
||||
include:
|
||||
- os: ubuntu-22.04
|
||||
python-version: 3.x
|
||||
- os: ubuntu-20.04
|
||||
python-version: 3.x
|
||||
- os: ubuntu-20.04
|
||||
python-version: 2.x
|
||||
steps:
|
||||
- name: Check out Mininet source
|
||||
uses: actions/checkout@v2
|
||||
|
||||
+2
-1
@@ -180,7 +180,7 @@ function mn_deps {
|
||||
if [ "$DIST" = "Ubuntu" -a `expr $RELEASE '>=' 20.04` = "1" ]; then
|
||||
pf=pyflakes3
|
||||
fi
|
||||
# Debian 11 "bullseye" renamed
|
||||
# Debian 11 "bullseye" renamed
|
||||
# * pep8 to python3-pep8
|
||||
# * pyflakes to pyflakes3
|
||||
if [ "$DIST" = "Debian" -a `expr $RELEASE '>=' 11` = "1" ]; then
|
||||
@@ -205,6 +205,7 @@ function mn_deps {
|
||||
fi
|
||||
$install iproute2 || $install iproute
|
||||
$install cgroup-tools || $install cgroup-bin
|
||||
$install cgroupfs-mount
|
||||
fi
|
||||
|
||||
echo "Installing Mininet core"
|
||||
|
||||
Reference in New Issue
Block a user