@@ -3,6 +3,42 @@ name: Deploy
33on : [push, workflow_dispatch]
44
55jobs :
6+ build-launcher-22 :
7+ runs-on : ubuntu-22.04
8+ strategy :
9+ matrix :
10+ python-version : [ "3.8" ]
11+ steps :
12+ - uses : actions/checkout@v3
13+ - name : Set up Python ${{ matrix.python-version }}
14+ uses : actions/setup-python@v3
15+ with :
16+ python-version : ${{ matrix.python-version }}
17+ - name : Install dependencies
18+ run : |
19+ sudo sysctl kernel.unprivileged_userns_clone=1
20+ sudo sysctl -w user.max_user_namespaces=10000
21+ sudo apt update
22+ sudo apt install -y openjdk-17-jdk
23+ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-17-openjdk-amd64/bin/java 1
24+ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac 1
25+ sudo update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java
26+ sudo update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac
27+ java -version
28+ javac -version
29+ echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64" >> $GITHUB_ENV
30+ echo $JAVA_HOME
31+ python3 -m pip install --upgrade pip
32+ pip3 install -r requirements.txt
33+ - name : Deployment of CV
34+ run : |
35+ DEPLOY_DIR=build make install -j$(nproc)
36+ DEPLOY_DIR=build make install-cif-compiled -j$(nproc)
37+ cp -r docs/examples/sources/ build/
38+ cd build
39+ python3 ./scripts/launch.py -c configs/it.json
40+ grep "it;smg;no_memory_leak_caller;TRUE;SUCCESS" results/report_launches_it_*.csv || exit 1
41+ grep "it;smg;memory_leak_caller;FALSE;SUCCESS" results/report_launches_it_*.csv || exit 1
642 build-launcher :
743 runs-on : ubuntu-latest
844 strategy :
@@ -16,15 +52,20 @@ jobs:
1652 python-version : ${{ matrix.python-version }}
1753 - name : Install dependencies
1854 run : |
55+ sudo sysctl kernel.unprivileged_userns_clone=1
56+ sudo sysctl -w user.max_user_namespaces=10000
57+ sudo apt update
58+ sudo apt install -y openjdk-17-jdk
1959 python3 -m pip install --upgrade pip
20- pip3 install requests ujson graphviz ply pytest atomicwrites more-itertools pluggy py attrs setuptools six django psycopg2 clade pyyaml pycparser sympy
60+ pip3 install -r requirements.txt
2161 - name : Deployment of CV
2262 run : |
2363 DEPLOY_DIR=build make install -j$(nproc)
2464 DEPLOY_DIR=build make install-cif-compiled -j$(nproc)
2565 cp -r docs/examples/sources/ build/
2666 cd build
2767 python3 ./scripts/launch.py -c configs/it.json
68+ cat results/report_launches_it_*.csv
2869 grep "it;smg;no_memory_leak_caller;TRUE;SUCCESS" results/report_launches_it_*.csv || exit 1
2970 grep "it;smg;memory_leak_caller;FALSE;SUCCESS" results/report_launches_it_*.csv || exit 1
3071 build-visualizer :
4182 - name : Install dependencies
4283 run : |
4384 python3 -m pip install --upgrade pip
44- pip3 install requests ujson graphviz ply pytest atomicwrites more-itertools pluggy py attrs setuptools six django psycopg2 pycparser sympy
85+ pip3 install -r requirements.txt
4586 - name : Deployment of Benchmark Visualizer
4687 run : |
4788 DEPLOY_DIR=build make install-benchmark-visualizer -j$(nproc)
62103 - name : Install dependencies
63104 run : |
64105 python3 -m pip install --upgrade pip
65- pip3 install requests ujson graphviz ply pytest atomicwrites more-itertools pluggy py attrs setuptools six django psycopg2 pycparser sympy
106+ pip3 install -r requirements.txt
66107 - name : Deployment of MEA
67108 run : |
68109 DEPLOY_DIR=build make install-mea -j$(nproc)
0 commit comments