File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 ./authserver --version
5959 ./worldserver --version
6060
61+ TC-Retail-Eluna :
62+ strategy :
63+ fail-fast : false
64+ matrix :
65+ include :
66+ - eluna : OFF
67+ lua : lua52
68+ - eluna : ON
69+ lua : lua52
70+ - eluna : ON
71+ runs-on : ubuntu-22.04
72+ steps :
73+ - uses : actions/checkout@v4
74+ with :
75+ submodules : false
76+ repository : Eluna-Ports/ElunaTrinityCore
77+ - uses : actions/checkout@v4
78+ with :
79+ path : src/server/game/LuaEngine
80+ - name : Dependencies
81+ run : |
82+ sudo apt-get update && sudo apt-get install -yq libboost-all-dev g++-11
83+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11
84+ - name : Setup
85+ env :
86+ ELUNA : ${{ matrix.eluna }}
87+ LUA : ${{ matrix.lua }}
88+ run : |
89+ mkdir bin
90+ cd bin
91+ cmake ../ -DELUNA=$ELUNA -DLUA_VERSION=$LUA -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS=dynamic -DSERVERS=1 -DNOJEM=0 -DCMAKE_BUILD_TYPE=Debug -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=1
92+ cd ..
93+ - name : Build
94+ run : |
95+ cd bin
96+ make -j 4 -k && make install
97+ - name : Unit tests
98+ run : |
99+ cd bin
100+ make test
101+ - name : Check executables
102+ run : |
103+ cd bin/check_install/bin
104+ ./authserver --version
105+ ./worldserver --version
106+
61107# Cata preservation project has been abandoned, so no need for further build checks on this project
62108# CataPres-Eluna:
63109# strategy:
You can’t perform that action at this time.
0 commit comments