Skip to content

[Core/SQL/Misc] Fixed the problems detected in the npcs Training Targ… #802

[Core/SQL/Misc] Fixed the problems detected in the npcs Training Targ…

[Core/SQL/Misc] Fixed the problems detected in the npcs Training Targ… #802

Workflow file for this run

name: GCC
on:
push:
paths-ignore:
- 'sql/**'
pull_request:
paths-ignore:
- 'sql/**'
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev g++-13 libreadline-dev libbz2-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 --slave /usr/bin/g++ g++ /usr/bin/g++-13
- name: Setup
run: |
mkdir bin
cd bin
cmake ../ -DTOOLS=1 -DELUNA=0 -DCMAKE_INSTALL_PREFIX=check_install
cd ..
- name: Build
run: |
cd bin
make -j 4 -k && make install
#- name: Check executables
# run: |
# cd bin/check_install/bin
# ./authserver --version
# ./worldserver --version