File tree Expand file tree Collapse file tree 7 files changed +61
-58
lines changed Expand file tree Collapse file tree 7 files changed +61
-58
lines changed Original file line number Diff line number Diff line change 6
6
- ' **'
7
7
8
8
jobs :
9
+ # This job takes approximately 18 minutes
9
10
CompileLinux :
10
11
runs-on : ubuntu-20.04
11
12
steps :
@@ -19,18 +20,18 @@ jobs:
19
20
DEBIAN_FRONTEND : noninteractive
20
21
run : |
21
22
sudo apt-get update
22
- sudo apt-get install --no-install-recommends -y g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
23
+ sudo apt-get install --no-install-recommends -y clang-10 clang++-10 flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
23
24
sudo apt-get install --no-install-recommends -y libssl-dev libelf-dev libudev-dev libpci-dev libiberty-dev autoconf
24
25
sudo apt-get install --no-install-recommends -y gawk jq
25
26
26
27
- name : Prepare ccache
27
28
uses : actions/cache@v3
28
29
with :
29
30
path : .ccache
30
- key : ${{ runner.os }}-20.04-make-${{ github.ref }}-${{ github.sha }}-KERNEL
31
+ key : ${{ runner.os }}-20.04-make-clang- ${{ github.ref }}-${{ github.sha }}-KERNEL
31
32
restore-keys : |
32
- ${{ runner.os }}-20.04-make-${{ github.ref }}
33
- ${{ runner.os }}-20.04-make
33
+ ${{ runner.os }}-20.04-make-clang- ${{ github.ref }}
34
+ ${{ runner.os }}-20.04-make-clang
34
35
- name : ccache environment
35
36
run : |
36
37
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
40
41
- name : Build CBMC tools
41
42
run : |
42
43
make -C src minisat2-download
43
- make -C src CXX='ccache /usr/bin/g ++' cbmc.dir goto-cc.dir goto-diff.dir -j2
44
+ make -C src CXX='ccache /usr/bin/clang ++' cbmc.dir goto-cc.dir goto-diff.dir -j2
44
45
- name : Print ccache stats
45
46
run : ccache -s
46
47
Original file line number Diff line number Diff line change 5
5
branches : [ develop ]
6
6
7
7
jobs :
8
+ # This job takes approximately 33 minutes
8
9
CompileXen :
9
10
runs-on : ubuntu-20.04
10
11
steps :
@@ -20,16 +21,16 @@ jobs:
20
21
sudo apt-get update
21
22
sudo apt-get install --no-install-recommends -y build-essential git flex bison software-properties-common curl python
22
23
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
23
- sudo apt-get install --no-install-recommends -y libgtk2.0-dev libyajl-dev time ccache
24
+ sudo apt-get install --no-install-recommends -y libgtk2.0-dev libyajl-dev time ccache clang-10 clang++-10
24
25
25
26
- name : Prepare ccache
26
27
uses : actions/cache@v3
27
28
with :
28
29
path : .ccache
29
- key : ${{ runner.os }}-20.04-make-${{ github.ref }}-${{ github.sha }}-XEN
30
+ key : ${{ runner.os }}-20.04-make-clang- ${{ github.ref }}-${{ github.sha }}-XEN
30
31
restore-keys : |
31
- ${{ runner.os }}-20.04-make-${{ github.ref }}
32
- ${{ runner.os }}-20.04-make
32
+ ${{ runner.os }}-20.04-make-clang- ${{ github.ref }}
33
+ ${{ runner.os }}-20.04-make-clang
33
34
- name : ccache environment
34
35
run : |
35
36
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
39
40
- name : Build CBMC tools
40
41
run : |
41
42
make -C src minisat2-download
42
- make -C src CXX='ccache /usr/bin/g ++' cbmc.dir goto-cc.dir goto-diff.dir -j2
43
+ make -C src CXX='ccache /usr/bin/clang ++' cbmc.dir goto-cc.dir goto-diff.dir -j2
43
44
- name : Print ccache stats
44
45
run : ccache -s
45
46
Original file line number Diff line number Diff line change 7
7
branches : [ develop ]
8
8
9
9
jobs :
10
+ # This job takes approximately 82 minutes
10
11
analyze :
11
12
name : Analyze
12
13
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 5
5
branches : [ develop ]
6
6
7
7
jobs :
8
+ # This job takes approximately 18 minutes
8
9
run-10-random-tests :
9
10
runs-on : ubuntu-20.04
10
11
steps :
@@ -17,17 +18,17 @@ jobs:
17
18
# user input
18
19
DEBIAN_FRONTEND : noninteractive
19
20
run : |
20
- sudo apt-get install --no-install-recommends -y build-essential flex bison maven ccache
21
+ sudo apt-get install --no-install-recommends -y build-essential flex bison maven ccache clang-10 clang++-10
21
22
sudo apt-get install --no-install-recommends -y csmith libcsmith-dev
22
23
make -C src minisat2-download
23
24
- name : Prepare ccache
24
25
uses : actions/cache@v3
25
26
with :
26
27
path : .ccache
27
- key : ${{ runner.os }}-20.04-make-${{ github.ref }}-${{ github.sha }}-CSMITH
28
+ key : ${{ runner.os }}-20.04-make-clang- ${{ github.ref }}-${{ github.sha }}-CSMITH
28
29
restore-keys : |
29
- ${{ runner.os }}-20.04-make-${{ github.ref }}
30
- ${{ runner.os }}-20.04-make
30
+ ${{ runner.os }}-20.04-make-clang- ${{ github.ref }}
31
+ ${{ runner.os }}-20.04-make-clang
31
32
- name : ccache environment
32
33
run : |
33
34
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV
36
37
run : ccache -z --max-size=500M
37
38
- name : Build with make
38
39
run : |
39
- make -C src CXX='ccache /usr/bin/g ++' cbmc.dir goto-cc.dir goto-instrument.dir -j2
40
+ make -C src CXX='ccache /usr/bin/clang ++' cbmc.dir goto-cc.dir goto-instrument.dir -j2
40
41
- name : Print ccache stats
41
42
run : ccache -s
42
43
- name : Run 10 randomly-generated CSmith tests
Original file line number Diff line number Diff line change 4
4
branches : [ develop ]
5
5
6
6
jobs :
7
+ # This job takes approximately 2 minutes
7
8
check-doxygen :
8
9
runs-on : ubuntu-20.04
9
10
steps :
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Publish CBMC documentation
2
2
on : [push, pull_request]
3
3
4
4
jobs :
5
+ # This job takes approximately 3 minutes
5
6
publish :
6
7
runs-on : ubuntu-latest
7
8
steps :
You can’t perform that action at this time.
0 commit comments