@@ -3,6 +3,41 @@ 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 apt update
21+ sudo apt install -y openjdk-17-jdk
22+ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-17-openjdk-amd64/bin/java 1
23+ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac 1
24+ sudo update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java
25+ sudo update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac
26+ java -version
27+ javac -version
28+ echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64" >> $GITHUB_ENV
29+ echo $JAVA_HOME
30+ python3 -m pip install --upgrade pip
31+ pip3 install -r requirements.txt
32+ - name : Deployment of CV
33+ run : |
34+ DEPLOY_DIR=build make install -j$(nproc)
35+ DEPLOY_DIR=build make install-cif-compiled -j$(nproc)
36+ cp -r docs/examples/sources/ build/
37+ cd build
38+ python3 ./scripts/launch.py -c configs/it.json
39+ grep "it;smg;no_memory_leak_caller;TRUE;SUCCESS" results/report_launches_it_*.csv || exit 1
40+ grep "it;smg;memory_leak_caller;FALSE;SUCCESS" results/report_launches_it_*.csv || exit 1
641 build-launcher :
742 runs-on : ubuntu-latest
843 strategy :
1651 python-version : ${{ matrix.python-version }}
1752 - name : Install dependencies
1853 run : |
54+ sudo sysctl kernel.unprivileged_userns_clone=1
55+ sudo sysctl -w user.max_user_namespaces=10000
56+ sudo apt update
57+ sudo apt install -y openjdk-17-jdk
1958 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
59+ pip3 install -r requirements.txt
2160 - name : Deployment of CV
2261 run : |
2362 DEPLOY_DIR=build make install -j$(nproc)
4180 - name : Install dependencies
4281 run : |
4382 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
83+ pip3 install -r requirements.txt
4584 - name : Deployment of Benchmark Visualizer
4685 run : |
4786 DEPLOY_DIR=build make install-benchmark-visualizer -j$(nproc)
62101 - name : Install dependencies
63102 run : |
64103 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
104+ pip3 install -r requirements.txt
66105 - name : Deployment of MEA
67106 run : |
68107 DEPLOY_DIR=build make install-mea -j$(nproc)
0 commit comments