This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: G++14 | ||
|
||
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-14 g++-14 | ||
export CXX=g++-14 CC=gcc-14 | ||
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-14 | ||
CXX: g++-14 | ||
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 |