[SQL] Implemented rated battlegrounds. #279
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clang | |
on: | |
push: | |
paths-ignore: | |
- 'sql/**' | |
pull_request: | |
paths-ignore: | |
- 'sql/**' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev clang-14 libace-dev | |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100 | |
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 100 | |
- name: Setup | |
run: | | |
mkdir bin | |
cd bin | |
cmake ../ -DTOOLS=1 -DELUNA=0 -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -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 |