Commit graph

11 commits

Author SHA1 Message Date
Renato Foot Guimarães Costallat
00cd5e6d36
improve: https/http login (#647) 2024-03-07 13:04:04 -03:00
Beats
3ee7e87bb6
improve: update GHA to read builtin-baseline from vcpkg.json (#403)
To prevent future build breaks due to changes in the vcpkg repository, added a step in the GitHub Actions to install vcpkg based on the builtin-baseline in the vcpkg.json file. This allows us to set vcpkg to be installed from specific commits in both GitHub Actions and in Ubuntu/Windows, centralizing everything in one location. We can only update vcpkg when there is an official release.
2023-02-06 11:33:12 -03:00
Beats
161fb7d92e
Enable build ccache sonar, update dockerfile (#283) 2022-08-18 00:12:44 -03:00
Eduardo Dantas
5531c40416
Fix github actions, cmake rework and integrate with vcpkg and improvement on protobuf (#257)
Full Github Action Rework (GHA), so that builds are fixed: Windows, Linux, Docker; Review checks: C++, Lua, XML and others checks
Complete Cmake Rework, modernized the code so that you can work with GHA.

Removed:
VCPKG Build
Removed generated Files from file .gitignore (all build files are required for Cmake cache generation)
Lib Lua5.1 was removed and maintained only Luajit (faster and better)
Removed the "consoleapplication" file
Removed the "lbitlib" file, after all, if the idea is the project to use updated Libs, why do we want files that bring compatibility to old Libs? I just updated the files to use the functions of the new LIBs

Modified:
The metadata of the Bitwise functions have been changed, now being in place of "bit32." is
"bit."
Protobuf will now be chased along with the client build, avoiding random errors related to Protobuf's version is different from the compiled file (this way, no matter if the repository file is outdated, as a new one will always be generated in a compilation from rebuild all)
Modified the structure of some folders, such as "protobuf" and "cmake" folder, "protobuf" was sent to the src main folder and "cmake" to the client main folder
Namespace protobuf changed from "tibia" to "otclient"
Merged the files of the Protobuf "shared.proto and appearances.proto" in one (appearances)

Added:
Issue Template
Pull Request Template
Pull Request Labeller
Check to inform that clang is not supported (it is possible to use docker on mac, this way we avoid headaches related to support for an OS that is practically not used)

GHA:
Codacy
CodeQL
Review dog
SonarCloud
Build docker
Build Ubuntu
Build Windows

Cmake:
Cmakepresets
VCPKG Manifest
Otcicon

Client:
Added the functions LuaInterface::registerTable and LuaInterface::registerMethod and Bitwise Functions (if necessary at some point compatibility with the Lua 5.1)

Note: Some checks are failing as they should only work after the merge, they should be ignored, the main ones are ok

Thanks to @costallat for for helping and assisting with addition of GHA and CMake build
2022-06-03 17:14:30 -03:00
Renato Machado
6d5d25ab49
Squashed commit of the following: (#172)
commit 3092b5b2d5
Author: Marcin Michalski <evulmastah@gmail.com>
Date:   Mon Nov 15 22:13:41 2021 +0000

    Update physfs repo in Dockerfile (#1165)

commit e73f6df221
Author: diath <contact@diath.net>
Date:   Wed Sep 29 21:03:12 2021 +0200

    Fix process hang on fatal errors (#1163)

commit 9eb13494f9
Author: diath <contact@diath.net>
Date:   Wed Sep 29 21:03:01 2021 +0200

    Fix ghost item border when dropping non-item objects (#1164)
2021-11-18 18:17:05 -03:00
Leonardo Dias
6217d8805b Update dockerfile to use physfs stable 3.0 2019-10-22 22:51:01 +02:00
Thulio Ferraz Assis
22a23ee977 Used MAKE_BUILD_TYPE=Release instead of strip 2019-09-26 19:59:40 -07:00
Thulio Ferraz Assis
f6358492a5 Removed unnecessary mv for libphysfs.a 2019-09-26 19:59:07 -07:00
Thulio Ferraz Assis
272867e56e Used nproc instead of grepping /proc/cpuinfo 2019-09-26 19:58:19 -07:00
Thulio Ferraz Assis
0f69f11b78 Improved Docker support 2019-09-26 18:23:08 -07:00
David Kennedy S. A
9142a096df Add dockerfile to build ubuntu version 2018-03-21 01:54:10 -03:00