Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Activate CMSG_COMPLAIN. Structure unchanged. #25

Activate CMSG_COMPLAIN. Structure unchanged.

Activate CMSG_COMPLAIN. Structure unchanged. #25

Workflow file for this run

name: G++13
on:
push:
branches: [ main, trunk, movement ]
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: |
# G++
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
# MySQL
sudo rm -rf /var/lib/dpkg/lock
sudo wget https://dev.mysql.com/get/mysql-apt-config_0.8.29-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.29-1_all.deb
#OpenSSL
#sudo wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
#sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
#sudo wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2_amd64.deb
#sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_amd64.deb
sudo apt update
sudo apt-get update
sudo apt-get install openssl libssl-dev
sudo apt install gcc-13 g++-13
export CXX=g++-13 CC=gcc-13
sudo apt-get install libncurses5-dev libace-dev
sudo apt-get install build-essential autoconf libtool make cmake git-core patch wget links zip unzip unrar
sudo apt-get install libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev
- name: Setup
env:
CC: gcc-13
CXX: g++-13
run: |
mkdir build
cd build
cmake ../ -DSCRIPTS=1 -DTOOLS=0 -DCMAKE_BUILD_TYPE=Release
make -j4
#- name: Check executables
# run: |
# cd bin/check_install/bin
# ./authserver --version
# ./worldserver --version