Files
unison/utils/tests/gitlab-ci-cppyy.yml
2022-08-13 17:07:48 +00:00

89 lines
2.5 KiB
YAML

cppyy-22.04:
image: ubuntu:22.04 # python 3.10
only:
variables:
- $RELEASE == "weekly"
tags:
- nsnam
- linux
before_script:
- apt update
- DEBIAN_FRONTEND=noninteractive apt install -y
g++ cmake ninja-build ccache
python3 python3-pip
libboost-dev libgsl-dev libgtk-3-dev
git wget
- pip install cppyy matplotlib numpy
script:
- ./ns3 configure -G Ninja --enable-python-bindings
- ./ns3 build
- ./ns3 run first.py
- ./ns3 run second.py
- ./ns3 run third.py
- ./ns3 run wifi-ap.py
- ./ns3 run simple-routing-ping6.py
- ./ns3 run realtime-udp-echo.py
- ./ns3 run bianchi11ax.py
- ./ns3 run sample-simulator.py
- ./ns3 run "sample-rng-plot.py --not-blocking"
- ./ns3 run csma-bridge.py
- ./ns3 run wifi-olsr-flowmon.py
- ./ns3 run "flowmon-parse-results.py output.xml"
- ./ns3 run mixed-wired-wireless.py
- ./ns3 run ./utils/python-unit-tests.py
timeout: 9h
cppyy-20.04:
image: ubuntu:20.04 # python 3.8
only:
variables:
- $RELEASE == "manual"
tags:
- nsnam
- linux
before_script:
- apt update
- DEBIAN_FRONTEND=noninteractive apt install -y
g++ cmake ninja-build ccache
python3 python3-pip
libboost-dev libgsl-dev libgtk-3-dev
git wget
- pip install cppyy
script:
- ./ns3 configure -G Ninja --enable-python-bindings
- ./ns3 build
- ./ns3 run first.py
- ./ns3 run second.py
- ./ns3 run third.py
- ./ns3 run ./utils/python-unit-tests.py
timeout: 9h
cppyy-18.04:
image: ubuntu:18.04 # python 3.6
only:
variables:
- $RELEASE == "manual"
tags:
- nsnam
- linux
before_script:
- apt update
- apt install -y software-properties-common
- add-apt-repository ppa:ubuntu-toolchain-r/test -y
- apt update
- DEBIAN_FRONTEND=noninteractive apt install -y
g++-9 gcc-9 cmake ninja-build ccache libclang-dev llvm-dev
python3 python3-pip
libboost-dev libgsl-dev libgtk-3-dev
git wget
- 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 --enable-python-bindings
- ./ns3 build
- ./ns3 run first.py
- ./ns3 run second.py
- ./ns3 run third.py
- ./ns3 run ./utils/python-unit-tests.py
timeout: 9h