diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 777d2ef..64a15be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,44 +5,44 @@ on: pull_request: jobs: - TC-Eluna: - strategy: - fail-fast: false - matrix: - eluna: [ON] - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - with: - submodules: false - repository: ElunaLuaEngine/ElunaTrinityWotlk - - uses: actions/checkout@v2 - with: - path: src/server/game/LuaEngine - - name: Dependencies - run: | - sudo apt-get update && sudo apt-get install -yq libboost-all-dev - - name: Setup - env: - ELUNA: ${{ matrix.eluna }} - run: | - mkdir bin - cd bin - cmake ../ -DELUNA=$ELUNA -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 - 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 - ./authserver --version - ./worldserver --version +# TC-Eluna: +# strategy: +# fail-fast: false +# matrix: +# eluna: [ON] +# runs-on: ubuntu-20.04 +# steps: +# - uses: actions/checkout@v2 +# with: +# submodules: false +# repository: ElunaLuaEngine/ElunaTrinityWotlk +# - uses: actions/checkout@v2 +# with: +# path: src/server/game/LuaEngine +# - name: Dependencies +# run: | +# sudo apt-get update && sudo apt-get install -yq libboost-all-dev +# - name: Setup +# env: +# ELUNA: ${{ matrix.eluna }} +# run: | +# mkdir bin +# cd bin +# cmake ../ -DELUNA=$ELUNA -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 +# 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 +# ./authserver --version +# ./worldserver --version AC-Eluna: strategy: @@ -100,32 +100,32 @@ jobs: - name: Check startup errors run: source ./apps/ci/ci-error-check.sh - mangos-Eluna: - strategy: - fail-fast: false - matrix: - eluna: [ON, OFF] - patch: [zero, one, two] - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - repository: mangos${{ matrix.patch }}/server - ref: master - - uses: actions/checkout@v2 - with: - path: src/modules/Eluna - - name: Configure - env: - ELUNA: ${{ matrix.eluna }} - run: | - mkdir bin - cd bin - cmake .. -DELUNA=$ELUNA -DCMAKE_INSTALL_PREFIX=install -DSOAP=1 -DPLAYERBOTS=0 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ - cd .. - - name: Build - run: | - cd bin - make -j4 - make install +# mangos-Eluna: +# strategy: +# fail-fast: false +# matrix: +# eluna: [ON, OFF] +# patch: [zero, one, two] +# runs-on: ubuntu-20.04 +# steps: +# - uses: actions/checkout@v2 +# with: +# submodules: recursive +# repository: mangos${{ matrix.patch }}/server +# ref: master +# - uses: actions/checkout@v2 +# with: +# path: src/modules/Eluna +# - name: Configure +# env: +# ELUNA: ${{ matrix.eluna }} +# run: | +# mkdir bin +# cd bin +# cmake .. -DELUNA=$ELUNA -DCMAKE_INSTALL_PREFIX=install -DSOAP=1 -DPLAYERBOTS=0 -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ +# cd .. +# - name: Build +# run: | +# cd bin +# make -j4 +# make install