@@ -34,30 +34,13 @@ jobs:
3434 run : |
3535 echo "::group::Installing packages"
3636 sudo apt-get install -y --no-install-recommends git wget curl ca-certificates \
37- make clang lld gdb bison flex perl doxygen graphviz libxml2-dev zlib1g-dev \
37+ make ccache clang lld gdb bison flex perl doxygen graphviz libxml2-dev zlib1g-dev \
3838 libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libz3-dev \
3939 python3 python3-pip python3-pandas python3-numpy python3-matplotlib \
4040 python3-scipy python3-seaborn python3-posix-ipc
4141 echo "::endgroup::"
4242
43- echo "::group::Configuring ccache"
44- export PATH=/usr/lib/ccache:$PATH
45- export CCACHE_DIR=/home/runner/work/ccache
46- echo "::endgroup::"
47-
48- echo "::group::Running omnetpp setenv"
49- cd $GITHUB_WORKSPACE/omnetpp
50- cp configure.user.dist configure.user
51- . setenv -f
52- echo "::endgroup::"
53-
54- echo "::group::Configuring omnetpp"
55- ./configure WITH_LIBXML=yes WITH_QTENV=no WITH_OSG=no WITH_OSGEARTH=no
56- echo "::endgroup::"
57-
58- echo "::group::Compiling omnetpp"
59- make MODE=${{ matrix.mode }} -j $(nproc) base
60- echo "::endgroup::"
43+ $GITHUB_WORKSPACE/inet/_scripts/github/build-omnetpp.sh
6144
6245 echo "::group::Installing pip"
6346 sudo apt install -y python3-pip
6750 python3 -m pip install matplotlib numpy pandas scipy ipython cppyy sewar dask distributed IPython optimparallel
6851 echo "::endgroup::"
6952
70- echo "::group::Running inet setenv"
71- cd $GITHUB_WORKSPACE/inet
72- . setenv -f
73- echo "::endgroup::"
74-
75- echo "::group::Enabling all inet features"
76- opp_featuretool enable all
77- echo "::endgroup::"
78-
79- echo "::group::Disabling some inet features"
80- opp_featuretool disable VisualizationOsg VisualizationOsgShowcases SelfDoc
81- echo "::endgroup::"
82-
83- echo "::group::Making inet makefiles"
84- make makefiles
85- echo "::endgroup::"
86-
87- echo "::group::Compiling inet"
88- make MODE=${{ matrix.mode }} -j $(nproc)
89- echo "::endgroup::"
53+ $GITHUB_WORKSPACE/inet/_scripts/github/build-inet.sh
9054
9155 echo "::group::Cloning inet statistical results"
9256 git clone https://github.com/inet-framework/statistics.git
0 commit comments