1717 with :
1818 python-version : ${{ matrix.python-version }}
1919
20- - name : Configure system for container mode
21- run : |
22- echo "Enabling unprivileged user namespaces..."
23- sudo sysctl kernel.unprivileged_userns_clone=1
24- sudo sysctl -w user.max_user_namespaces=10000
25-
26- - name : Install system dependencies
27- run : |
28- echo "Installing required packages..."
29- sudo apt-get update
30- sudo apt-get install -y openjdk-17-jdk
31- echo "Configuring Java 17 as default..."
32- sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-17-openjdk-amd64/bin/java 1
33- sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac 1
34- sudo update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java
35- sudo update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac
36- echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64" >> $GITHUB_ENV
37-
3820 - name : Install Python dependencies
3921 run : |
4022 python3 -m pip install --upgrade pip
4426 run : |
4527 echo "Building and deploying CV..."
4628 make install -j"$(nproc)" DEPLOY_DIR=build
47- make install-cif-compiled -j"$(nproc)" DEPLOY_DIR=build
48-
49- - name : Run integration tests
50- run : |
51- echo "Running integration tests..."
52- cp -r docs/examples/sources/ build/
53- cd build
54- python3 ./scripts/launch.py -c configs/it.json
5529
56- echo "Verifying results..."
57- grep "it;smg;no_memory_leak_caller;TRUE;SUCCESS" results/report_launches_it_*.csv || exit 1
58- grep "it;smg;memory_leak_caller;FALSE;SUCCESS" results/report_launches_it_*.csv || exit 1
59- build-visualizer :
30+ build-witness-visualizer :
6031 runs-on : ubuntu-latest
6132 strategy :
6233 matrix :
7546 run : |
7647 DEPLOY_DIR=build make install-benchmark-visualizer -j$(nproc)
7748 cd build
78- python3 ./scripts/visualize_witnesses .py -r results/ -d ../docs/examples/witnesses/violation/
79- python3 ./scripts/visualize_witnesses .py -r results/ -d ../docs/examples/witnesses/correctness/
49+ python3 ./cv/witness_visualizer .py -r results/ -d ../docs/examples/witnesses/violation/
50+ python3 ./cv/witness_visualizer .py -r results/ -d ../docs/examples/witnesses/correctness/
8051 build-mea :
8152 runs-on : ubuntu-latest
8253 strategy :
9667 run : |
9768 DEPLOY_DIR=build make install-mea -j$(nproc)
9869 cd build
99- python3 ./scripts/filter .py -d ../docs/examples/witnesses/violation/
100- build-frama-c-cil :
70+ python3 ./cv/mea .py -d ../docs/examples/witnesses/violation/
71+ deploy-cvv :
10172 runs-on : ubuntu-latest
10273 strategy :
10374 matrix :
@@ -108,6 +79,12 @@ jobs:
10879 uses : actions/setup-python@v3
10980 with :
11081 python-version : ${{ matrix.python-version }}
111- - name : Deployment of Frama-C CIL
82+ - name : Install dependencies
83+ run : |
84+ python3 -m pip install --upgrade pip
85+ pip3 install -r requirements.txt
86+ - name : Deployment of MEA
11287 run : |
113- DEPLOY_DIR=build make install-frama-c-cil -j$(nproc)
88+ DEPLOY_DIR=build make deploy-cvv -j$(nproc)
89+ cd build/cvv
90+ deploys/deployment.sh
0 commit comments