File tree Expand file tree Collapse file tree 3 files changed +36
-165
lines changed
Expand file tree Collapse file tree 3 files changed +36
-165
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : clang PCH
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-22.04
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Dependencies
13+ run : |
14+ sudo apt-get update && sudo apt-get install -yq libboost-all-dev clang-11
15+ sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang-11 100 --slave /usr/bin/c++ c++ /usr/bin/clang++-11
16+ - name : Setup
17+ run : |
18+ mkdir bin
19+ cd bin
20+ cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS=static -DSERVERS=1 -DNOJEM=0 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang-11 -DCMAKE_CXX_COMPILER=clang++-11 -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror" -DCMAKE_C_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_INSTALL_PREFIX=check_install -DBUILD_TESTING=0
21+ cd ..
22+ - name : Build
23+ run : |
24+ cd bin
25+ make -j 4 -k && make install
26+ - name : Unit tests
27+ run : |
28+ cd bin
29+ make test
30+ - name : Check executables
31+ run : |
32+ cd bin/check_install/bin
33+ ./authserver --version
34+ ./worldserver --version
Original file line number Diff line number Diff line change 1- name : GCC
1+ name : GCC PCH
22
33on :
44 push :
3131 run : |
3232 cd bin/check_install/bin
3333 ./authserver --version
34- ./bnetserver --version
35- ./worldserver --version
34+ ./worldserver --version
You can’t perform that action at this time.
0 commit comments