File tree 1 file changed +19
-3
lines changed
1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
CompileXen :
9
- runs-on : ubuntu-18 .04
9
+ runs-on : ubuntu-20 .04
10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
with :
@@ -19,12 +19,28 @@ jobs:
19
19
run : |
20
20
sudo apt-get install --no-install-recommends -y coreutils build-essential gcc git make flex bison software-properties-common libwww-perl python
21
21
sudo apt-get install --no-install-recommends -y bin86 gdb bcc liblzma-dev python-dev gettext iasl uuid-dev libncurses5-dev libncursesw5-dev pkg-config
22
- sudo apt-get install --no-install-recommends -y libgtk2.0-dev libyajl-dev sudo time
22
+ sudo apt-get install --no-install-recommends -y libgtk2.0-dev libyajl-dev sudo time ccache
23
23
24
+ - name : Prepare ccache
25
+ uses : actions/cache@v2
26
+ with :
27
+ path : .ccache
28
+ key : ${{ runner.os }}-20.04-make-${{ github.ref }}-${{ github.sha }}-XEN
29
+ restore-keys : |
30
+ ${{ runner.os }}-20.04-make-${{ github.ref }}
31
+ ${{ runner.os }}-20.04-make
32
+ - name : ccache environment
33
+ run : |
34
+ echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
35
+ echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV
36
+ - name : Zero ccache stats and limit in size
37
+ run : ccache -z --max-size=500M
24
38
- name : Build CBMC tools
25
39
run : |
26
40
make -C src minisat2-download
27
- make -C src cbmc.dir goto-cc.dir goto-diff.dir -j2
41
+ make -C src CXX='ccache /usr/bin/g++' cbmc.dir goto-cc.dir goto-diff.dir -j2
42
+ - name : Print ccache stats
43
+ run : ccache -s
28
44
29
45
- name : Get one-line-scan
30
46
run : git clone -b path-addition https://github.com/awslabs/one-line-scan.git
You can’t perform that action at this time.
0 commit comments