Joao Matos
c443fe3355
Fix minor issue when invoking Premake without an action.
5 years ago
Joao Matos
2b1095c844
Compress LLVM archives using zstd.
5 years ago
Joao Matos
0c2c554cf4
Call MSBuild in x86 build with Win32 platform.
5 years ago
Joao Matos
8aad7accd4
Do not use LLD when building LLVM under macOS.
5 years ago
josetr
f556f1ac17
Use NUnit3TestAdapter package ( #1504 )
5 years ago
Joao Matos
78716eecf9
Fix Lua cmake() so it works when CMake is in PATH on macOS.
5 years ago
josetr
25b875c034
Avoid installing NUnit if its already installed. ( #1500 )
5 years ago
Dimitar Dobrev
fa47194dae
Generate code from tests where libraries appear
...
This is necessary in order to easily find the compiled symbols as dependencies and target of platform invocation.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
josetr
aec4ca6442
Check if mono is already installed before trying to install it. ( #1496 )
5 years ago
josetr
ce1b3fe985
CI: Avoid inline scripting and use a single matrix. ( #1495 )
5 years ago
josetr
71ca2d9be5
Enable Multi-processor Compilation (MSVC)
5 years ago
Joao Matos
0f7b61e05f
Remove unused build code.
5 years ago
Joao Matos
7585d858f3
Minor build refactor and preparation for gmake2.
5 years ago
Joao Matos
f1ab9add0e
Minor cleanup in Compile.sh.
5 years ago
josetr
db249e05f0
Speed up CI build by avoiding vcvarsalls.bat ( #1484 )
5 years ago
josetr
73f334c90e
Reduce number of "download progress" messages. ( #1482 )
5 years ago
Joao Matos
0539255fdf
Save NUnit test results and report it in Github Actions.
5 years ago
Joao Matos
d26406dd42
Fix helper shell scripts to work on Windows.
5 years ago
Joao Matos
ea0003ea0c
Add Premake wrapper script for usage in CI.
5 years ago
josetr
7791cf6996
Fallback to LayoutKind.Explicit when a custom alignment is specified. ( #1476 )
5 years ago
Dimitar Dobrev
1178ce4055
Create projects which always build generated code
...
This ensures local test runs are always reliable because every time the solution is built the generated code is updated.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
75bca17907
Update LLVM to obtain working lld ( #1462 )
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
2049d52f9c
Fix passing of CMake options to LLVM on Windows
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
josetr
832e4e9eb0
Fix IntPtr array marshalling bug and move hard to read code to CppSharp.Runtime ( #1446 )
5 years ago
Dimitar Dobrev
bc410cf619
Upgrade premake in preparation for .NET Core ( #1298 )
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
josetr
df98fc460a
Use C# 'default literal' to avoid using a type's name that may be renamed ( #1432 )
...
* Use C# 'default literal' to avoid using a type's name that may be renamed
5 years ago
Dimitar Dobrev
0a15871751
Add an option for building with Visual Studio 2019
...
Fixes https://github.com/mono/CppSharp/issues/1390 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
3dd467626c
Update the Mono used in the CI for Linux
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
5ef13ac6e5
Pack the lld headers as well
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
0e39ab705a
Import native DLL-s (tests and parser) with MSVC
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Lorenzo Delana
dfa243644b
force bash use to avoid `./premake5-linux: 3: ./premake5-linux: Bad substitution` error if other default shell in the system
5 years ago
João Matos
bd783b1cd0
Add debug option and flags to the Premake build and compile scripts.
5 years ago
Dimitar Dobrev
c7de36450c
Update the version of Mono used for builds (CI)
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Ali Alamiri
344656c787
Move the GenerateInclude logic to GetTypeReference ( #1319 )
...
Improve generation of forward references and includes in C++/CLI.
Move the GenerateInclude logic to GetTypeReference so that an include is also generated for visited types of an ASTRecord that are forward declared, and come from typedef of ignored class template.
Co-authored-by: Build Agent <admin@sage.com>
5 years ago
Dimitar Dobrev
8b3eadf6de
Simplify the structure of the LLVM package
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
João Matos
d110a2f045
Fix Mono not being found on the PATH on recent macOS versions.
5 years ago
Dimitar Dobrev
299cb912cc
Update LLVM to the latest version
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
36f754116f
Fix a syntax error in CMake listing Clang modules
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
fe8d0d70f8
Enable building lld as part of LLVM
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
067827cf29
Restore modules needed for compiling with Clang
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
454a46ed1c
Support Visual Studio 2019 for building Clang
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
f422ce27ba
Delete the no longer used Clang commit
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Joao Matos
eab2620c18
Update LLVM to the latest version.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
Signed-off-by: Joao Matos <joao@tritao.eu>
6 years ago
Joao Matos
4862827e7d
Always re-create the Clang resource directory when building.
...
This makes sure that the copy is always done correctly, due to the Premake bug.
6 years ago
Joao Matos
7aa62596df
Remove old workaround for testing issue that does not seem necessary anymore.
6 years ago
Joao Matos
1f4595dfbe
Workaround Premake issue when copying the resource include directories at build time.
...
Related to: https://github.com/premake/premake-core/issues/1232
6 years ago
Joao Matos
8278efd338
Add options to disable tests and examples from the build.
6 years ago
Dimitar Dobrev
96d231e5d4
Generate projects for .NET 4.7 to use new features
...
An example is LPUTF8Str which can be used for marshalling UTF-8 strings.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
86464a378d
Build the generator before test bindings for easy testing
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Dimitar Dobrev
d24ef35949
Make the default build for Windows 64-bit
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago