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

workflow: touch nit #2

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
19 changes: 17 additions & 2 deletions .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 @@ -14,13 +16,26 @@ jobs:
software-properties-common libwww-perl python \
bin86 gdb bcc liblzma-dev python-dev gettext iasl \
uuid-dev libncurses5-dev libncursesw5-dev pkg-config \
libgtk2.0-dev libyajl-dev sudo time
libgtk2.0-dev libyajl-dev sudo \
time

- uses: actions/checkout@v1

- name: build CBMC tools
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