@@ -58,137 +58,40 @@ jobs:
5858 ./authserver --version
5959 ./worldserver --version
6060
61- # Cata preservation project has been abandoned, so no need for further build checks on this project
62- # CataPres-Eluna:
61+ # mangos-Eluna:
6362# strategy:
6463# fail-fast: false
6564# matrix:
66- # eluna: [ON]
67- # runs-on: ubuntu-20.04
68- # steps:
69- # - uses: actions/checkout@v4
70- # with:
71- # submodules: false
72- # repository: Niam5/ElunaCataPreservation
73- # - uses: actions/checkout@v4
74- # with:
75- # path: src/server/game/LuaEngine
76- # - name: Dependencies
77- # run: |
78- # sudo apt-get update && sudo apt-get install -yq libboost-all-dev
79- # sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
80- # - name: Setup
81- # env:
82- # ELUNA: ${{ matrix.eluna }}
83- # run: |
84- # mkdir bin
85- # cd bin
86- # cmake ../ -DELUNA=$ELUNA -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSERVERS=1 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_INSTALL_PREFIX=check_install -DBUILD_TESTING=1
87- # cd ..
88- # - name: Build
89- # run: |
90- # cd bin
91- # make -j 4 -k && make install
92- # - name: Unit tests
93- # run: |
94- # cd bin
95- # make test
96- # - name: Check executables
97- # run: |
98- # cd bin/check_install/bin
99- # ./bnetserver --version
100- # ./worldserver --version
101-
102- # AC-Eluna:
103- # strategy:
104- # fail-fast: false
105- # runs-on: ubuntu-20.04
65+ # eluna: [ON, OFF]
66+ # patch: [zero, one, two, three]
67+ # runs-on: ubuntu-latest
10668# steps:
10769# - uses: actions/checkout@v4
10870# with:
10971# submodules: recursive
110- # repository: azerothcore/azerothcore-wotlk
111- # ref: ' master'
72+ # repository: mangos${{ matrix.patch }}/server
73+ # ref: master
11274# - uses: actions/checkout@v4
11375# with:
114- # submodules: false
115- # repository: azerothcore/mod-eluna-lua-engine
116- # path: modules/mod-eluna-lua-engine
117- # - uses: actions/checkout@v4
118- # with:
119- # path: modules/mod-eluna-lua-engine/LuaEngine
120- # - name: Configure OS
76+ # path: src/game/LuaEngine
77+ # - name: Dependencies and Environment
12178# run: |
122- # # Copy paste of https://github.com/azerothcore/azerothcore-wotlk/blob/master/apps/ci/ci-install.sh
123- #
124- # cat >>conf/config.sh <<CONFIG_SH
125- # MTHREADS=4
126- # CWARNINGS=ON
127- # CDEBUG=OFF
128- # CTYPE=Release
129- # CSCRIPTS=static
130- # CUNIT_TESTS=ON
131- # CSERVERS=ON
132- # CTOOLS=ON
133- # CSCRIPTPCH=ON
134- # CCOREPCH=ON
135- # CCUSTOMOPTIONS='-DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror"'
136- # DB_CHARACTERS_CONF="MYSQL_USER='root'; MYSQL_PASS='root'; MYSQL_HOST='localhost';"
137- # DB_AUTH_CONF="MYSQL_USER='root'; MYSQL_PASS='root'; MYSQL_HOST='localhost';"
138- # DB_WORLD_CONF="MYSQL_USER='root'; MYSQL_PASS='root'; MYSQL_HOST='localhost';"
139- # CONFIG_SH
140- #
141- # time sudo apt-get update -y
142- # # time sudo apt-get upgrade -y
143- # time sudo apt-get install -y git lsb-release sudo ccache
144- # time ./acore.sh install-deps
145- #
146- # time sudo apt-get install -y clang-11
147- # echo "CCOMPILERC=\"clang-11\"" >> ./conf/config.sh
148- # echo "CCOMPILERCXX=\"clang++-11\"" >> ./conf/config.sh
149- # - name: Import db
150- # run: source ./apps/ci/ci-import-db.sh
79+ # sudo apt-get update -y
80+ # sudo apt-get install -y git make cmake clang libssl-dev libbz2-dev build-essential default-libmysqlclient-dev libace-dev libreadline-dev
81+ # sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
82+ # sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100
83+ # - name: Configure
84+ # env:
85+ # ELUNA: ${{ matrix.eluna }}
86+ # run: |
87+ # test -d _build || mkdir _build
88+ # test -d _install || mkdir _install
89+ # cd _build
90+ # cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DBUILD_TOOLS:BOOL=1 -DBUILD_MANGOSD:BOOL=1 -DBUILD_REALMD:BOOL=1 -DSOAP:BOOL=1 -DSCRIPT_LIB_ELUNA:BOOL=$ELUNA -DSCRIPT_LIB_SD3:BOOL=1 -DPLAYERBOTS:BOOL=0 -DUSE_STORMLIB:BOOL=1
15191# - name: Build
152- # run: source ./apps/ci/ci-compile.sh
153- # - name: Dry run
154- # run: source ./apps/ci/ci-worldserver-dry-run.sh
155- # - name: Check startup errors
156- # run: source ./apps/ci/ci-error-check.sh
157-
158- mangos-Eluna :
159- strategy :
160- fail-fast : false
161- matrix :
162- eluna : [ON, OFF]
163- patch : [zero, one, two, three]
164- runs-on : ubuntu-latest
165- steps :
166- - uses : actions/checkout@v4
167- with :
168- submodules : recursive
169- repository : mangos${{ matrix.patch }}/server
170- ref : master
171- - uses : actions/checkout@v4
172- with :
173- path : src/game/LuaEngine
174- - name : Dependencies and Environment
175- run : |
176- sudo apt-get update -y
177- sudo apt-get install -y git make cmake clang libssl-dev libbz2-dev build-essential default-libmysqlclient-dev libace-dev libreadline-dev
178- sudo update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100
179- sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100
180- - name : Configure
181- env :
182- ELUNA : ${{ matrix.eluna }}
183- run : |
184- test -d _build || mkdir _build
185- test -d _install || mkdir _install
186- cd _build
187- cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DBUILD_TOOLS:BOOL=1 -DBUILD_MANGOSD:BOOL=1 -DBUILD_REALMD:BOOL=1 -DSOAP:BOOL=1 -DSCRIPT_LIB_ELUNA:BOOL=$ELUNA -DSCRIPT_LIB_SD3:BOOL=1 -DPLAYERBOTS:BOOL=0 -DUSE_STORMLIB:BOOL=1
188- - name : Build
189- run : |
190- cd _build
191- make -j 6
92+ # run: |
93+ # cd _build
94+ # make -j 6
19295
19396 cmangos-Eluna :
19497 strategy :
@@ -251,4 +154,4 @@ jobs:
251154 cd build
252155 cmake ../ -DCMAKE_INSTALL_PREFIX=../_install -DWITH_WARNINGS=0 -DUSE_EXTRACTORS=1
253156 make -j2
254- make install
157+ make install
0 commit comments