Commit Graph

12 Commits

Author SHA1 Message Date
Dmitry Stogov
4fef47b1a5
Reimplement tester program in C and in IR independent way (#50)
* Reimplement tester program in C and in IR independent way

* Fix Windows support
2023-09-27 00:34:03 +03:00
Ilija Tovilo
9a8cbdf28c
Test Unix x86 with asan/ubsan in CI (#49) 2023-09-26 10:57:55 +03:00
Dmitry Stogov
0dbb794399
CI tests for MACOS build (#46) 2023-08-30 15:24:12 +03:00
Anatol Belski
d28de0e46e ci: windows: Switch to Server 2019 runner image
There seems to be a weird issue with toolset and host OS version, that
makes x86 Windows builds of capstone misbehave. It is not quite clear,
what is the exact issue, but switching to another runner image that also
uses a bit older toolset seems to help.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
2023-06-16 23:02:00 +02:00
Anatol Belski
658c923580 msvc: capstone: Move to using the VS solution instead of vcpkg
Moving to the usage of the upstream sources removes layers of
complexity present in VCPKG and allows for more flexibility with regard
to the dependency handling. Things done:

- Switch to building capstone based from an upstream tag
- Explicitly remove any unused arch support in the build
- Use static lib to simplify on-prem usage
- Cache the capstone artifacts in the pipeline
- Automatically reset cache based on the values in Makefile and
  VC++ toolset version

The current capstone version is still kept 5.0-rc2. While evaluating a
possible downgrade to 4.0.2 as used by the Linux CI, some test
regressions are observed on the x64 side. If needed, those might be
spent a closer look, otherwise keeping the version seems ok.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
2023-06-10 13:24:28 +02:00
Dmitry Stogov
b193a348c5 Add --show-diff for Windows CI test 2023-03-29 14:43:54 +03:00
Dmitry Stogov
fca6ba0a8a Remove unnecessary output 2023-03-13 11:28:36 +03:00
Anatol Belski
9295eae8fa ci: Adjust yaml for C++ test runner
- Lift dependency on PHP for tests
- Add g++ dependency

Signed-off-by: Anatol Belski <ab@php.net>
2023-03-10 01:28:19 +01:00
Anatol Belski
992d2d4f3a github: Set more descriptive job names
Signed-off-by: Anatol Belski <ab@php.net>
2023-02-25 00:04:58 +01:00
Anatol Belski
ec11fc119b build: Add MSVC Makefile
Signed-off-by: Anatol Belski <ab@php.net>
2023-02-24 22:17:35 +01:00
Anatol Belski
e5c1a78746 ci: Extend with MSVC pass
Signed-off-by: Anatol Belski <ab@php.net>
2023-02-24 22:09:25 +01:00
Ilija Tovilo
9060407ada
Add GitHub actions 2022-11-21 20:42:07 +01:00