Commit graph

115 commits

Author SHA1 Message Date
Riccardo Schirone
f738f327a5 Fix typo: heads not head 2021-01-21 16:57:27 +01:00
Riccardo Schirone
988773b2b2 Use full github.ref name 2021-01-21 16:48:54 +01:00
Riccardo Schirone
fb69f44e08 Enable releases for stable branch 2021-01-21 16:38:38 +01:00
Riccardo Schirone
cf1fc682a7 Fix rzpipe egg name 2021-01-21 16:38:38 +01:00
Anton Kochkov
1ce3f53fb5 Fix #394 - convert old Debian to Meson/Ninja 2021-01-21 16:38:38 +01:00
Anton Kochkov
ed8988fce0 Allow ptrace for Alpine static build 2021-01-21 16:38:38 +01:00
Florian Märkl
06d194bbf7 Give rz_log some spinach (Fix #350) 2021-01-20 12:27:03 +08:00
Anton Kochkov
36936e87da Upload Rizin static artifact 2021-01-20 12:27:03 +08:00
Anton Kochkov
cf22001bf1 Remove the Debian package building 2021-01-20 12:27:03 +08:00
Anton Kochkov
8acb32113b
Use Meson dist for generating tarball (#354)
* Fix TinyCC workflow

* Use Meson dist for generating tarball

Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
2021-01-16 22:45:22 +08:00
Anton Kochkov
4805f845d3
Use Meson for static build (#342)
* Use Meson for static build
* Use Alpine for static linking
2021-01-13 12:22:27 +08:00
Riccardo Schirone
6f41360178
MacOS improvements (#322)
* Ad-hoc sign rizin binary with debugger entitlements on MacOS
* Use re.rizin.rizin and move OSX pkg files in dist/osx
* Use dist/osx/build_osx_package.sh to create OSX pkg with meson
* Mention how to create OSX pkg in doc/PACKAGERS.md
* Remove doc/macos.md
2021-01-11 14:45:38 +01:00
Anton Kochkov
236d108ac9 Run also unit tests 2021-01-09 08:45:54 +08:00
Anton Kochkov
a967702d0a Fix rz-pipe URL 2021-01-09 08:45:54 +08:00
Anton Kochkov
58a8085a0e Add Debian Stretch the the CI matrix 2021-01-09 08:45:54 +08:00
Anton Kochkov
e97fd61741 CentOS 6 is EOL. Switch CI to CentOS 7 2021-01-07 14:02:49 +08:00
Anton Kochkov
768951f7b6 Install cabextract on CI 2020-12-25 18:58:25 +08:00
Khairul Azhar Kasmiran
646d135323
Fix gcov working directory for Codecov (#222) 2020-12-19 20:33:59 +08:00
Riccardo Schirone
564e64be3e
Improve meson information, structure and move fortunes (#213)
* Simplify a bit meson.build
* Use meson summary and move fortunes install dir
* Use 0.55.0 meson version
* Use /CURRENTUSER to select local installation
2020-12-18 11:28:19 +01:00
Riccardo Schirone
9706d12ba2 Do not use LicenseLocation when creating Win installer 2020-12-17 18:54:16 +01:00
Riccardo Schirone
7114d3cec7 Ensure rizin can compile before pushing to DockerHub 2020-12-17 17:03:19 +01:00
Riccardo Schirone
6601ae9759
Use docker/build-push-action@v2 (#211)
* Use docker/build-push-action@v2
* Enable qemu + buildx
* Install cmake to enable compilation on other architectures
2020-12-17 16:52:52 +01:00
Riccardo Schirone
900beb199e
Switch to ubuntu-20.04 to fix gcov issue (#193)
* Switch Github CI to ubuntu-20.04
* Adapt tests for CI ubuntu-20.04
2020-12-17 10:24:00 +08:00
Riccardo Schirone
4168c77691
Missing ASAN env vars in CI (#190) 2020-12-15 11:12:26 +01:00
Riccardo Schirone
09d305ec10 Extract subprocess API used in rz-test into RzUtil 2020-12-15 10:18:50 +01:00
Anton Kochkov
73ab3594c5 Run ASAN and AppVeyor builds for imported patches 2020-12-14 11:23:54 +01:00
Riccardo Schirone
4559740877
Enable all github jobs (#133) 2020-12-09 00:31:55 +08:00
Florian Märkl
b42bc69d3c
Revert temporary changes 2020-12-08 15:55:17 +01:00
GustavoLCR
f820a489f6 Add option to log r2r test results and publish it in the CI (#17964) ##test 2020-11-24 14:51:44 +01:00
Riccardo Schirone
9ce5003ca6
Create RzCmdDesc generator from YAML file ##newshell
* Create RzCmdDesc generator from YAML file

The commands tree can be entirely described in a YAML file, that is
parsed at build-time and generates cmd_descs.c/cmd_descs.h files. The
developer then just needs to provide the handler with the proper name to
make sure things work.

* Add PyYAML to CI jobs
2020-11-16 09:36:51 +01:00
Giovanni
1790f3136d
adding self-hosted runners to the CI 2020-11-12 17:46:33 +01:00
Khairul Azhar Kasmiran
7c86add0dc Add 6 minutes to cmd_aae timeout and skip aaa for swift_read fuzz test (#17805)
* Add 6 minutes to the cmd_aae test
* Skip aaa when doing swift_read fuzz test on asan
* Bump linux-meson-gcc-newshell-tests timeout to 60 minutes
2020-10-30 10:44:38 +01:00
Riccardo Schirone
1a919ad65e Use -Wno-cpp to avoid errors on #warning (#17785) 2020-10-19 13:35:10 +08:00
Riccardo Schirone
c1865f7e93 Use -Werror when building in CI (#17781) 2020-10-15 12:27:09 +08:00
Riccardo Schirone
7ceebc725e Mass renaming r2 to rz/rizin 2020-10-13 12:43:34 +02:00
Riccardo Schirone
baea395572
Introduce FAKE command descryptor type ##newshell (#20)
* Show ? if additional commands are present as sub-commands #newshell
* Show ?? for ? command, because `??` is a variable ##newshell
* Provide RzCmdDescDetailEntry.arg_str to better show arguments ##newshell
* Provide new FAKE RZ_CMD_DESC_TYPE ##newshell
* Move @?, |?, >? to FAKE entries ##newshell
* Additional help for @@, @@@, ~
* Fix windows/osx ci
2020-10-08 15:31:54 +02:00
Riccardo Schirone
0a51d3daae Pass token for now [skip ci] 2020-10-06 16:01:01 +02:00
Riccardo Schirone
2028f53874
Enable newshell by default (#18)
* Checkout submodules as well in CI
* Enable cfg.newshell by default
2020-10-06 10:57:44 +02:00
Riccardo Schirone
c6d5597a7c Fix rizin-win-installer CI job 2020-10-03 22:12:56 +02:00
Florian Märkl
7216963186
Use Submodule for SDB (#11) 2020-10-03 16:44:58 +02:00
Florian Märkl
03c0eb80de
Move macOS to Travis (#7) 2020-10-03 13:34:06 +02:00
Riccardo Schirone
502e91aff7
Rename R_ and R2_ to RZ_ (#8)
* Rename R2_ -> RZ_
* Rename R_ -> RZ_
* Rename R2R_ -> RZ_TEST_
* Rename R2R defines and types to RZ_TEST/RzTest
* Keep R_ for REIL registers
2020-10-02 16:09:13 +02:00
Florian Märkl
20dfc1c441
Use use_webui for macOS CI (#6) 2020-10-01 20:25:37 +02:00
Florian Märkl
9c60a2f65b
Use Meson for macOS CI (#3) 2020-10-01 18:14:49 +02:00
Riccardo Schirone
338e6fe172 Other renames in man and small places
Remove rz link, just keep rizin

Remove r2 link from acr

Fix http test on macos
2020-10-01 17:53:29 +02:00
Riccardo Schirone
721609a17b
Rename to rizin (#2) 2020-10-01 16:13:03 +02:00
Florian Märkl
413055f67c
Temporarily disable some CI jobs 2020-10-01 14:11:08 +02:00
Florian Märkl
f8e67549b0
Checkout testbins and fuzztargets with token 2020-10-01 09:47:47 +02:00
Khairul Azhar Kasmiran
6511ec9cd9
Test =h on Linux (#17697) 2020-09-23 20:09:21 +08:00
Riccardo Schirone
478ba6eb25
Do not let ASAN crash on large allocations (#17683) 2020-09-21 23:00:10 +08:00
karliss
9823c753eb
Match PR coverage number with master. (#17662)
Fuzzing isn't done for pull requests which causes difference in coverage
report.
2020-09-17 12:27:30 +03:00
karliss
8e07354cdd
Move coverage testing to meson-gcc-newshell-tests (#17643)
Previosly used meson-gcc-tests which isn't run on pull requests.
2020-09-16 15:30:00 +08:00
Khairul Azhar Kasmiran
fe5b80d615
Fix asan r2pipe test by updating libasan and using LD_PRELOAD (#17594)
* Set LD_PRELOAD for unit tests
* Declare failed debug tests as broken if no assertion or Sanitizer in output
* Check for ASAN=1 in cmd_pipe test
* Set asan: true in the GitHubCI matrix
* Fix ttyname-related runtime error
* Upgrade asan build to Ubuntu 20.04
* Quick fix for reg/arena.c runtime error
2020-09-11 18:47:27 +08:00
Riccardo Schirone
391f8b77eb
Increase timeout for macos-clang-tests job (#17627) 2020-09-10 09:21:49 +02:00
Riccardo Schirone
0d6a2bcf91
CI is starting to reach the timeout on master. (#17622) 2020-09-09 18:11:36 +02:00
Riccardo Schirone
709fcab0e6 Do not disable build-static tests, just ignore the result 2020-09-09 15:39:33 +02:00
Riccardo Schirone
56510ad82f Make sure create-release CI step is run only on release- branch ##build 2020-09-09 15:39:33 +02:00
Riccardo Schirone
3e3efcc005 Test compilation with various capstone versions ##build
Do not use #include <capstone/..>

This ensures compatibility with both capstone v3 and capstone as
installed on most distributions, where the pkg-config file of capstone
already adds -I/usr/include/capstone (with that dir directly containing
the headers).
2020-09-09 15:39:33 +02:00
Riccardo Schirone
8de4315fa3 Add ASAN tests to github CI ##build 2020-09-09 15:39:33 +02:00
Riccardo Schirone
b8e90511c6 Publish docker images after build configurations are green ##build
Ensure that broken commits do not get pushed to docker registry.
2020-09-09 15:39:33 +02:00
Riccardo Schirone
be39c822cf Add sdb header path to compile windows ##build 2020-09-02 10:07:02 +02:00
Riccardo Schirone
ffb58abd03 Allow to test windows build with "*windows*" PRs ##build 2020-09-02 10:07:02 +02:00
Riccardo Schirone
6aca12465f Do not run tests for build-static ##build
Something does not work well with static (it hasn't at least from the
moment build-static started running full tests). To avoid all kind of
brokeness all around, let's switch back to no-tests. We will enable them
together with the proper fixes for the static build.
2020-09-01 21:54:23 +08:00
Riccardo Schirone
f2e2f7383a
Enable CI checks on PRs against release-* branches as well (#17536) 2020-08-27 11:12:43 -05:00
Riccardo Schirone
dfde84d333
Merge all things in one workflow file, reducing duplication of CI code (#17355) 2020-08-27 12:14:58 +08:00
Renamed from .github/workflows/release.yml (Browse further)