File tree Expand file tree Collapse file tree 2 files changed +45
-26
lines changed
Expand file tree Collapse file tree 2 files changed +45
-26
lines changed Original file line number Diff line number Diff line change 1+ name : Build Xen with CPROVER tools
2+
3+ on :
4+ pull_request :
5+ branches : [ develop ]
6+
7+ jobs :
8+ CompileXen :
9+ runs-on : ubuntu-18.04
10+ steps :
11+ - uses : actions/checkout@v2
12+ with :
13+ submodules : true
14+ - name : Install Packages
15+ env :
16+ # This is needed in addition to -yq to prevent apt-get from asking for
17+ # user input
18+ DEBIAN_FRONTEND : noninteractive
19+ run : |
20+ sudo apt-get install -y coreutils build-essential gcc git make flex bison software-properties-common libwww-perl python
21+ sudo apt-get install -y bin86 gdb bcc liblzma-dev python-dev gettext iasl uuid-dev libncurses5-dev libncursesw5-dev pkg-config
22+ sudo apt-get install -y libgtk2.0-dev libyajl-dev sudo time
23+
24+ - name : Build CBMC tools
25+ run : |
26+ make -C src minisat2-download
27+ make -C src cbmc.dir goto-cc.dir goto-diff.dir
28+
29+ - name : Get one-line-scan
30+ run : git clone -b path-addition https://github.com/awslabs/one-line-scan.git
31+
32+ - name : Get Xen 4.13
33+ run : git clone git://xenbits.xen.org/xen.git xen_4_13 && cd xen_4_13 && git reset --hard RELEASE-4.13.0 && pwd
34+
35+ - name : Prepare compile Xen with CBMC via one-line-scan
36+ run : |
37+ ln -s goto-cc src/goto-cc/goto-ld
38+ ln -s goto-cc src/goto-cc/goto-as
39+ ln -s goto-cc src/goto-cc/goto-g++
40+
41+ - name : Compile Xen with CBMC via one-line-scan, and check for goto-cc section
42+ run : one-line-scan/one-line-scan --add-to-path $(pwd)/src/cbmc --add-to-path $(pwd)/src/goto-diff --add-to-path $(pwd)/src/goto-cc --no-analysis --trunc-existing --extra-cflags -Wno-error -o CPROVER -j 3 -- make -C xen_4_13 xen -j $(nproc) -k || true
43+
44+ - name : Check for goto-cc section in xen-syms binary
45+ run : objdump -h xen_4_13/xen/xen-syms | grep "goto-cc"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments