ci: enable python bindings on cppyy jobs

This commit is contained in:
Gabriel Ferreira
2022-08-08 13:23:05 -03:00
parent ca421d6447
commit ecb47cb991

View File

@@ -11,7 +11,7 @@ cppyy-22.04:
- DEBIAN_FRONTEND=noninteractive apt-get install -y g++ cmake ninja-build ccache libgsl-dev libgtk-3-dev libboost-dev wget git python3 python3-pip
- pip install cppyy matplotlib numpy
script:
- ./ns3 configure -G Ninja
- ./ns3 configure -G Ninja --enable-python-bindings
- ./ns3 build
- ./ns3 run first.py
- ./ns3 run second.py
@@ -43,7 +43,7 @@ cppyy-20.04:
- DEBIAN_FRONTEND=noninteractive apt-get install -y g++ cmake ninja-build ccache libgsl-dev libgtk-3-dev libboost-dev wget git python3 python3-pip
- pip install cppyy
script:
- ./ns3 configure -G Ninja
- ./ns3 configure -G Ninja --enable-python-bindings
- ./ns3 build
- ./ns3 run first.py
- ./ns3 run second.py
@@ -68,7 +68,7 @@ cppyy-18.04:
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 800 --slave /usr/bin/g++ g++ /usr/bin/g++-9
- pip3 install cppyy-cling cppyy-backend CPyCppyy cppyy # older python version may install dependencies in the wrong order
script:
- CXX=g++-9 ./ns3 configure -G Ninja
- CXX=g++-9 ./ns3 configure -G Ninja --enable-python-bindings
- ./ns3 build
- ./ns3 run first.py
- ./ns3 run second.py