Skip to content

Commit

Permalink
Bring multistate up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Dec 31, 2023
2 parents 57a9b73 + 71b1feb commit d115cea
Show file tree
Hide file tree
Showing 100 changed files with 53,516 additions and 1,448 deletions.
65 changes: 54 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ jobs:
eluna: [ON]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: false
repository: ElunaLuaEngine/ElunaTrinityWotlk
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/server/game/LuaEngine
- name: Dependencies
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev
sudo apt-get update && sudo apt-get install -yq libboost-all-dev g++-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
- name: Setup
env:
ELUNA: ${{ matrix.eluna }}
Expand All @@ -44,6 +45,46 @@ jobs:
./authserver --version
./worldserver --version
CataPres-Eluna:
strategy:
fail-fast: false
matrix:
eluna: [ON]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: false
repository: Niam5/ElunaCataPreservation
- uses: actions/checkout@v3
with:
path: src/server/game/LuaEngine
- name: Dependencies
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10
- name: Setup
env:
ELUNA: ${{ matrix.eluna }}
run: |
mkdir bin
cd bin
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
cd ..
- name: Build
run: |
cd bin
make -j 4 -k && make install
- name: Unit tests
run: |
cd bin
make test
- name: Check executables
run: |
cd bin/check_install/bin
./bnetserver --version
./worldserver --version
# AC-Eluna:
# strategy:
# fail-fast: false
Expand Down Expand Up @@ -108,12 +149,12 @@ jobs:
patch: [zero, one, two]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
repository: mangos${{ matrix.patch }}/server
ref: master
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/modules/Eluna
- name: Configure
Expand All @@ -122,7 +163,7 @@ jobs:
run: |
mkdir bin
cd bin
cmake .. -DELUNA=$ELUNA -DCMAKE_INSTALL_PREFIX=install -DSOAP=1 -DPLAYERBOTS=0 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/
cmake .. -DSCRIPT_LIB_ELUNA=$ELUNA -DCMAKE_INSTALL_PREFIX=install -DSOAP=1 -DPLAYERBOTS=0 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/
cd ..
- name: Build
run: |
Expand All @@ -135,19 +176,21 @@ jobs:
fail-fast: false
matrix:
eluna: [ON, OFF]
patch: [Classic, TBC, WotLK]
runs-on: ubuntu-20.04
patch: [Classic, TBC, WotLK, Cata]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: false
repository: Niam5/Eluna-CMaNGOS-${{ matrix.patch }}
ref: master
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/game/LuaEngine
- name: Dependencies
- name: Dependencies and Environment
run: |
echo "CC=gcc-12" >> $GITHUB_ENV
echo "CXX=g++-12" >> $GITHUB_ENV
sudo apt-get update && sudo apt-get install -yq libboost-all-dev
- name: Configure
env:
Expand Down
80 changes: 0 additions & 80 deletions CMakeLists.txt

This file was deleted.

Loading

0 comments on commit d115cea

Please sign in to comment.