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 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflows: Add gcc 12 and 13 workflows
- Loading branch information
Showing
2 changed files
with
122 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++12 | ||
|
||
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-12 g++-12 | ||
export CXX=g++-12 CC=gcc-12 | ||
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-12 | ||
CXX: g++-12 | ||
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 |
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++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 |