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():
2222
2323 num_procs = int (run (["nproc" ], stdout = subprocess .PIPE ).stdout )
2424
25- # Use clang++, because it is a bit faster and uses less memory than g++
2625 run ([
2726 "cmake" ,
2827 "-B" ,
2928 "build" ,
3029 "-Werror=dev" ,
30+ # Use clang++, because it is a bit faster and uses less memory than g++
3131 "-DCMAKE_C_COMPILER=clang" ,
3232 "-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" ,
3339 "-DWERROR=ON" ,
3440 "-DWITH_ZMQ=ON" ,
3541 "-DBUILD_GUI=ON" ,
Original file line number Diff line number Diff line change 7777 git config user.name "CI"
7878 - run : |
7979 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
8181 - name : Compile and run tests
8282 run : |
8383 # 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