Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cbmc: test compile Xen #1

Merged
merged 2 commits into from
Sep 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/build-and-test-Xen.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Build and Test Xen

on: [push]
on:
pull_request:
branches: [ develop ]

jobs:
Linux:
Expand All @@ -22,5 +24,17 @@ jobs:
run: make -C src minisat2-download
run: make -C src cbmc.dir goto-cc.dir goto-diff.dir

- name: get one-line-scan
run: git clone https://github.com/awslabs/one-line-scan.git

- name: get Xen 4.13
run: git clone git://xenbits.xen.org/xen.git xen_4_13 && cd xen_4_13 && git reset --hard RELEASE-4.13.0

- name: compile Xen with CBMC via one-line-scan
run: ls
run: pwd
run: ls src/*
run: ln -sf src/goto-cc/goto-cc src/goto-cc/goto-ld
run: ln -sf src/goto-cc/goto-cc src/goto-cc/goto-as
run: ln -sf src/goto-cc/goto-cc src/goto-cc/goto-g++
run: PATH=$PATH:src/cbmc:src/goto-cc one-line-scan/one-line-scan --no-analysis --trunc-existing --extra-cflags -Wno-error -o CPROVER -j 3 -- make -C xen xen -j $(nproc) -k