This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
forked from The-Cataclysm-Preservation-Project/TrinityCore
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update automerge workflow to build after merge
- Loading branch information
Showing
1 changed file
with
23 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -12,14 +12,36 @@ jobs: | |
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
- name: Merge CPP | ||
- name: Merge TCPP | ||
run: | | ||
git status | ||
git config user.email "[email protected]" && git config user.name "Niam5" | ||
git remote add Cata https://github.com/The-Cataclysm-Preservation-Project/TrinityCore.git | ||
git fetch Cata master | ||
git rebase Cata/master | ||
git status | ||
- name: Dependencies | ||
run: | | ||
sudo apt-get update && sudo apt-get install -yq libboost-all-dev | ||
- name: Setup | ||
run: | | ||
mkdir bin | ||
cd bin | ||
cmake ../ -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DELUNA=1 -DTOOLS=1 -DSCRIPTS=static -DSERVERS=1 -DNOJEM=0 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=check_install -DBUILD_TESTING=1 | ||
cd .. | ||
- name: Build | ||
run: | | ||
cd bin | ||
make -j 4 -k && make install | ||
- name: Unit tests | ||
run: | | ||
cd bin | ||
make test | ||
- name: Check executables | ||
run: | | ||
cd check_install/bin | ||
./bnetserver --version | ||
./worldserver --version | ||
- name: Push changes | ||
run: | | ||
git push --force |