File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,20 @@ def main():
22
22
23
23
num_procs = int (run (["nproc" ], stdout = subprocess .PIPE ).stdout )
24
24
25
- # Use clang++, because it is a bit faster and uses less memory than g++
26
25
run ([
27
26
"cmake" ,
28
27
"-B" ,
29
28
"build" ,
30
29
"-Werror=dev" ,
30
+ # Use clang++, because it is a bit faster and uses less memory than g++
31
31
"-DCMAKE_C_COMPILER=clang" ,
32
32
"-DCMAKE_CXX_COMPILER=clang++" ,
33
+ # Use mold, because it is faster than the default linker
34
+ "-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=mold" ,
35
+ # Use Debug build type for more debug checks, but enable optimizations
36
+ "-DAPPEND_CXXFLAGS='-O3 -g2'" ,
37
+ "-DAPPEND_CFLAGS='-O3 -g2'" ,
38
+ "-DCMAKE_BUILD_TYPE=Debug" ,
33
39
"-DWERROR=ON" ,
34
40
"-DWITH_ZMQ=ON" ,
35
41
"-DBUILD_GUI=ON" ,
Original file line number Diff line number Diff line change 77
77
git config user.name "CI"
78
78
- run : |
79
79
sudo apt-get update
80
- sudo apt-get install clang ccache build-essential cmake ninja-build pkgconf python3-zmq libevent-dev libboost-dev libsqlite3-dev systemtap-sdt-dev libzmq3-dev qt6-base-dev qt6-tools-dev qt6-l10n-tools libqrencode-dev -y
80
+ sudo apt-get install clang mold ccache build-essential cmake ninja-build pkgconf python3-zmq libevent-dev libboost-dev libsqlite3-dev systemtap-sdt-dev libzmq3-dev qt6-base-dev qt6-tools-dev qt6-l10n-tools libqrencode-dev -y
81
81
- name : Compile and run tests
82
82
run : |
83
83
# Run tests on commits after the last merge commit and before the PR head commit
You can’t perform that action at this time.
0 commit comments