Commit graph

134 commits

Author SHA1 Message Date
Riccardo Schirone
bd8d23179c ci: fix rz-pipe-{go,python} installs 2022-10-06 11:49:26 +02:00
Riccardo Schirone
34d2cde22d ci: build portable Windows
Before this patch only the vs2019_static Windows build was compiled in
portable mode, however the Windows installer that is part of the release
is based on the clang_cl build. That meant a user installing Rizin on
Windows would get wrong paths when doing `rizin -H`, as those paths
would reference the CI user paths.
2022-10-06 11:49:26 +02:00
Khairul Azhar Kasmiran
ed7a283b6f
Upgrade CI to macos-12 (#3057)
Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2022-10-02 08:53:00 +08:00
Anton Kochkov
7dda939146
Update Android NDK to the latest default platform (#3009)
* Update Android NDK to the `android33` platform
* Use `sed` to fix substitute env var in Meson cross file
2022-09-08 12:00:31 +08:00
Khairul Azhar Kasmiran
8983944f1e
Fix path to meson on Mac (#2928) 2022-08-17 20:19:57 +08:00
Anton Kochkov
d8cb8a3ba2
Use GCC 12.x instead of GCC 11.x on CI job (#2874)
Co-authored-by: Khairul Azhar Kasmiran <kazarmy@gmail.com>
2022-08-14 19:45:09 +08:00
Khairul Azhar Kasmiran
2166230a9c
Show available memory in Linux ci.yml jobs (#2840) 2022-07-26 20:28:03 +08:00
Florian Märkl
91e48624b5 Add very basic debug tests for macOS
The system.privilege.taskport change in CI could also be simplified without
having to manually edit a plist.
2022-07-17 20:31:32 +02:00
Riccardo Schirone
8939fdbd7d
Use add_global_arguments instead of passing cflags/ldflags all around (#2812)
See also 66a0e22293/docs/TESTING_WITH_SANITIZERS.md (clang)
2022-07-17 21:33:51 +08:00
Giovanni
648882d544
Add libmspack and add idpx to extracts compressed pdb (#2728)
* Add libmspack, cabextract and add idpx to extracts compressed pdb
* Remove cabextract from CIs since it is not anymore required.
2022-06-27 23:52:07 +02:00
Riccardo Schirone
6f8aec2b3b
CI: install sigdb in static version of rizin (#2689)
* CI: install sigdb in static version of rizin
* RzCore: use bool2status whenever possible
* RzCore: add flirt.sigdb.load vars to select which signatures to load
* test: adjust testing to not consider system/home flirt db
* sign: use a RzSigDb structure instead of a raw list to store signatures
* sign: switch RzSigDb to use a hashtable and avoid duplicates
2022-06-23 10:29:46 +02:00
Riccardo Schirone
7b56fb1a51 build: Release also windows shared builds 2022-05-25 16:52:03 +02:00
Anton Kochkov
6a46a4c640
Always run ASAN CI jobs 2022-04-13 01:00:26 +08:00
Anton Kochkov
f246d7bdc8
Skip debug tests on Alpine and CentOS (#2443) 2022-03-24 23:15:39 +08:00
Peiwei Hu
a0ea1f6f57
rz-test: support exclude directories (#2440) 2022-03-24 16:54:25 +08:00
Riccardo Schirone
d6f8e53735 Ensure that CI tests unit tests without testbins 2022-03-23 10:34:53 +01:00
Khairul Azhar Kasmiran
c4b35acc2e
Increase timeout of linux-gcc-tests-asan build to 2 hours (#2411) 2022-03-15 22:38:50 +08:00
Khairul Azhar Kasmiran
7ede9dfd39
Update libc6 and dbg.maps.count.after.map test (#2403)
* Update `dbg.maps.count.after.map` test
* `ci.yml`: Install latest version of libc6
* `tcc.yml`: Update libc
2022-03-12 19:11:22 +08:00
Dhruv Maroo
1532342358 Add --print-errorlogs flag meson test for Windows jobs 2022-03-06 16:54:44 +01:00
Riccardo Schirone
6f40dfe493
Move remaining things from shlr/ to meson subprojects (#2126)
* Move binrz meson directives to binrz/ dir

* Move rizin-shell-parser to a subproject

* Move bochs to a meson subproject

* Move rzqnx to meson subproject

* Move winkd to a meson subproject

* Move rzar to a meson subproject

* Move rzw32dbg_wrap to a meson subproject

* Move ptrace-wrap to a meson subproject

* Move rzgdb to a meson subproject

* Rename w32dbg_wrap to rzw32dbg_wrap

* Update CODEOWNERS

* Remove old references to shlr

* Move shlr/heap stuff in core and remove shlr/arm

* Move spp to a meson subproject

* Remove last references to shlr

* Remove use_webui option

* Move include files directives to librz/include/meson.build

* Move librz meson directives into librz/meson.build

* Handle d/ directories inside the specific module meson.build

* Move plugins listing to specific module meson.build

* Move rzheap to its own subproject

* Fix js linter and licenses

* Use meson.override_dependency for all rz_ modules
2021-12-22 09:20:39 +08:00
Riccardo Schirone
47e1cb8335
Provide CMake config files for CMake projects (#2057)
* Remove wrong librz.pc.in file
* Add plugindir variable to .pc files to allow easy plugin configuration
* Add CMake config files to find Rizin in CMake projects
* Add CI jobs to check cmake files
* Provide workaround for mesonbuild/meson#9702
* Use .lib suffix and no prefix on MSVC to make CMake files work
* Disable cmake files on static libraries build
2021-12-17 09:16:25 +00:00
Giovanni
bda1e9cfca
Disable GPL code and Add RISC-V support via Capstone 5 (#2087)
* -Duse_gpl=false is supported by rizin and added riscv_cs for capstone v5
* Added GPL build workflow in CI
2021-12-11 13:30:01 +01:00
Khairul Azhar Kasmiran
d2f649d178
Add --werror to macos build (#2074) 2021-12-06 23:10:33 +08:00
Khairul Azhar Kasmiran
3ad79aaa8c
Update macos builds to macos-11 (#2064) 2021-12-04 21:10:23 +08:00
Khairul Azhar Kasmiran
ffc0b9cf74
Use --werror with Linux Clang builds (#2043) 2021-11-29 22:37:45 +08:00
Khairul Azhar Kasmiran
649f358d2e
Fix clang -Wabsolute-value warning + Trigger linux clang build on clang in branch name (#2042) 2021-11-28 20:03:56 +08:00
Khairul Azhar Kasmiran
11d9e5c995
asan builds: Get loc of asan so from env (#2024) 2021-11-25 00:05:48 +08:00
Surendrajat
c5fa5a2d5e
macOS: Update installer background (#1994) 2021-11-19 12:41:35 +01:00
Khairul Azhar Kasmiran
5d42d9d163
Support fuzz tests in asan clang build (#1990) 2021-11-18 00:13:16 +08:00
Khairul Azhar Kasmiran
906ece4211
Add asan build for clang (#1910) 2021-11-17 21:02:02 +08:00
Khairul Azhar Kasmiran
f98680aab4
Fix -Warray-bounds warnings in gcc-11 build (#1818) 2021-10-11 22:33:48 +08:00
Khairul Azhar Kasmiran
b80cadf756
Switch to ubuntu:hirsute for gcc-11 build (#1811) 2021-10-10 18:41:05 +02:00
Khairul Azhar Kasmiran
4995a22228
Add gcc-11 build to CI (#1802) 2021-10-07 17:07:06 +08:00
Riccardo Schirone
af65352aa1
Move files to generate windows installer under dist/windows (#1765) 2021-10-02 13:53:13 +02:00
Riccardo Schirone
618ed4e0a8
Add separate test to check if C++ programs work with Rizin (#1743) 2021-09-24 10:15:59 +02:00
Riccardo Schirone
9cdf48c475 Test OSX pkg on both Big Sur and Catalina 2021-08-19 11:41:45 +02:00
Riccardo Schirone
dce349dc72 ci: Fix non-pullrequests events by specifying 'base' field (2nd try) 2021-08-17 16:00:35 +02:00
Riccardo Schirone
7bff56b897 ci: Fix non-pullrequests events by specifying 'base' field 2021-08-17 15:58:14 +02:00
Giovanni
a72e012618
Allow capstone next to fail (#1378) 2021-07-29 12:47:44 +02:00
Florian Märkl
76d6193c6b
Always Upload Test Results in GHA (#1207) 2021-06-10 21:08:32 +02:00
Florian Märkl
1545129388 Enable RZ_ASSERT_STDOUT for a PR Job 2021-03-20 12:32:24 +01:00
Khairul Azhar Kasmiran
7a4f9b3201
Set CI buildtypes to highest opt level possible and set default buildtype to debugoptimized (#260)
* Set default meson buildtype to debugoptimized
* Add separate Codecov build and remove linux-meson-gcc-build build
* Set test buildtypes to highest optimization level possible
* Run Codecov build only on dev branch
2021-03-10 18:00:56 +08:00
Riccardo Schirone
084ea0a424 build: improve documentation for static building 2021-03-03 09:57:10 +01:00
Riccardo Schirone
6491975461 ci: fix tag generated for container 2021-02-26 21:49:40 +01:00
Riccardo Schirone
e1dcc69150 ci: fix tags filter 2021-02-26 20:55:28 +01:00
Riccardo Schirone
e70999e9d8
ci: push Docker tag also for tagged release (#627) 2021-02-26 18:48:17 +01:00
Anton Kochkov
09a473bb23 Use 'fetch-depth: 2' for actions/checkout 2021-02-25 20:27:50 +08:00
Riccardo Schirone
0a66fcbae3 ci: use -Dportable when compiling static builds 2021-02-25 19:41:38 +08:00
Khairul Azhar Kasmiran
9f8f765578
Add test for bb overlapping fcn start (#643)
* Add test for bb overlapping fcn start

* Run tests on test changes by adding test/ to whitelist in ci.yml, .appveyor.yml and tcc.yml
2021-02-17 19:37:47 +08:00
Alexis Ehret
a3f99ecf19 Move the conditional skip for ci.yml 2021-02-15 09:52:07 +01:00