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
77353cf012
Fix TinyCC workflow
2020-12-14 18:54:27 +08:00
Anton Kochkov
73ab3594c5
Run ASAN and AppVeyor builds for imported patches
2020-12-14 11:23:54 +01:00
Anton Kochkov
aa46502287
Fix CodeQL build
2020-12-09 18:31:27 +08:00
Anton Kochkov
6603cb48cc
Enable CodeQL Analysis back
2020-12-09 18:26:39 +08: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
Anton Kochkov
c384758c1c
More verbose TCC tests
2020-12-07 23:18:29 -06:00
Florian Märkl
e53e87d8c7
Fix E-Mail in coverity job ( #119 )
2020-12-06 18:52:42 +01:00
Anton Kochkov
21e33128b7
Fix TCC CI job test dependencies
2020-12-04 10:14:30 +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
9b65d35c61
Use cmd_descs_generate.py to update src dir and fallback if no PyYAML ( #91 )
2020-11-17 11:04:34 +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
8a3b80eaf0
Temporarily disable CodeQL
2020-10-01 10:12:19 +02:00
Florian Märkl
f8e67549b0
Checkout testbins and fuzztargets with token
2020-10-01 09:47:47 +02:00
pancake
aa7de006e6
Fix TinyCC build ##build
2020-09-27 13:33:26 +08: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
adc3586425
Create new GitHub workflow for continuous build ##build ( #17603 )
...
Make "continuous" build a pre-release, to avoid hiding the real releases.
2020-09-08 10:13:47 +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
Khairul Azhar Kasmiran
4bc96b847a
Fix MS-DOS fuzz tests ( #17496 )
2020-08-20 12:17:13 +08:00
pancake
8b33d764a7
Fix #3929 - Enable LTO in sys/static.sh ##build ( #17141 )
...
* Fix #3929 - Enable LTO in sys/static.sh
* Update Ubuntu to 20.04 for static build
* Use `gcc-ar` when needed
* Do not use "c" option for ${AR}
* Use `$$AR` instead of `$AR`
* Aim to fix `-dynamiclib` issue outside darwin
* Run tests for static LTO build
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2020-08-13 13:55:39 +08:00
Anton Kochkov
f338c2b2bb
Test also Debian Wheezy ( #17352 )
2020-07-25 01:39:37 +08:00
Riccardo Schirone
ab7a4b8045
Install ldid2 as well, to sign packages for cydia ##build ( #17341 )
2020-07-23 14:24:26 +02:00
Riccardo Schirone
69abbec753
Hardcode the version of meson/ninja to use to ensure consistency ( #17260 )
2020-07-13 14:56:42 +02:00
Riccardo Schirone
e3b67f124c
Release pipeline with GitHub Actions ( #17192 )
...
* Make sure meson can build with `system` = `android`.
* Add support for binr/blob in meson build
* Create release GitHub Actions workflow
* Add publish-docker-image job
* Also create Ubuntu packages and ship static windows zip
2020-07-09 12:07:45 +08:00
Anton Kochkov
742b5098af
Install r2pipe.py for Debian Jessie CI job ( #17241 )
...
* Install r2pipe.py for Debian Jessie CI job
* Build Python 3.6 from source
2020-07-08 19:06:33 +08:00
Zi Fan
4fa2cffb43
Fix debug tests on Debian Jessie ##test ( #17240 )
2020-07-08 03:15:45 -05:00
Riccardo Schirone
9b43e2d70f
CentOS forward decl RBin ( #17224 )
...
* Try to fix double declaration issue in centos
* On CentOS we just check unit tests
2020-07-06 19:43:48 +08:00
Anton Kochkov
f19078aa3e
Update Debian Jessie CI job
2020-07-06 14:01:12 +08:00
Riccardo Schirone
4c9bf99134
Run fuzzed-tests in github actions ##tests ( #17075 )
...
* Run fuzzed-tests in github actions
2020-07-03 11:40:56 +08:00
Anton Kochkov
4b35fd9f19
Update CentOS 6 Action name
2020-07-01 12:48:32 +08:00
Anton Kochkov
17d7a9bebd
Migrate to GitHub CodeQL ( #17183 )
2020-07-01 09:34:20 +08:00
Anton Kochkov
114a5a5943
Check some OS 3 times a week ( #17182 )
2020-06-30 17:47:46 +02:00
Khairul Azhar Kasmiran
896ba91e1e
#!pipe: Fix stray command output on Windows and add r2pipe.py test ( #17156 )
2020-06-30 17:41:39 +08:00
Anton Kochkov
d6cf4f0898
Add Debian OLD (Debian 8 Jessie) ( #17098 ) ##build
...
Add Debian 8 (Jessie) Docker build to ensure radare2 works
on the older Debian-based systems too.
2020-06-20 12:17:00 +08:00
Riccardo Schirone
a14f5c0777
Update tree-sitter to 0.16.8 ( #16991 )
...
* Fix CentOS6 CI by specifying PKG_CONFIG_PATH
* Do not define var inside for-loop
2020-06-03 15:01:47 +02:00
Riccardo Schirone
7985537330
Fix pfo command without arguments ( #16961 )
...
* Fix pfo command without arguments
* Fix radare2-ci-tree-sitter tests
2020-05-28 16:29:44 +03:00
karliss
688c411afe
Limit PR build timeout. ( #16952 )
...
Typical runs take 5-15 minutes. Default 6h timeout is too much.
2020-05-27 11:51:54 +08:00
Khairul Azhar Kasmiran
055ee0474a
Add pxe test + convert prc_256.py to pure r2 ( #16838 )
2020-05-18 15:52:18 +02:00
Anton Kochkov
61014e5119
Add docker publish
2020-05-11 18:09:31 +08:00
Riccardo Schirone
a29f0ccce5
Add CI job for CentOS 6 build ( #16712 )
...
* Fix re-definition of RAnalBlockCb and RAnalAddrCb
* Small compilation fixes for gcc-4
* Check PTRACE_GETREGSET before using it
* Add GH workflow to run on centos:6 for prerelease branches
* Fix configure.acr
2020-04-29 19:02:02 +08:00
Riccardo Schirone
db0aa2d796
Restore newshell tests in master branch ( #16691 )
2020-04-23 13:53:03 +08:00
Riccardo Schirone
06ab29b93c
Compile new shell parser by default ( #16660 )
...
* Move radare2-shell-parser/tree-sitter into shlr
* compile new shell parser by default, available with cfg.newshell variable
* Add README for radare2-shell-parser
* Improve CI
* Add gitattributes file
2020-04-21 13:44:30 +02:00
Riccardo Schirone
29494cafcf
Add static build GH action
...
* Run CI also on PR that has the 'static' string in branch name
2020-04-20 14:25:28 +02:00
Riccardo Schirone
c00fabddc5
Enforce newshell build from now on ( #16639 )
2020-04-19 21:00:06 +02:00
Riccardo Schirone
08210f3d0e
Improve newshell.yaml and use better names for GH builds ( #16588 )
...
* Try to run newshell tests on newshell- PRs
GH actions pull_request.branches only filter the base branch.
* Make it clearer which builds run tests and which do not
2020-04-14 17:46:01 +08:00
Anton Kochkov
99c88738b7
Better Coverity Scan GHA job name
2020-04-10 17:10:12 +08:00
Riccardo Schirone
ad17ab6d81
Run newshell tests when PR is newshell-* ( #16481 )
...
Split the workflow in a separate file
2020-04-09 11:50:41 +08:00
Riccardo Schirone
6304c2db95
Allow to run travis jobs if special branch names are used ( #16476 )
2020-04-08 14:03:26 +02:00
Riccardo Schirone
88ad1ccd4a
Add GitHub actions for push to master as well ( #16454 )
...
Instead of using a full matrix, just add the builds we care about
2020-04-07 12:40:15 +02:00
Riccardo Schirone
6136666e9c
Create more GitHub Actions jobs for meson and gcc/clang ##build ( #16442 )
...
* Create more GitHub Actions jobs for meson and gcc/clang
* Add workflow for GitHub Actions when we commit in master
2020-04-07 11:31:05 +08:00
Florian Märkl
91c58506e5
Enable R2R in C for all CI except Windows ( #16354 ) ##test
2020-04-01 23:16:02 +02:00
pancake
12a925c685
Fix warnings and solve the Gitlab CI
2020-03-31 17:06:40 +02:00
davidpolverari
823ab26095
Fix coverity-scan GitHub Action for forked repos ( #16261 )
...
Makes the coverity scan neither download of the Coverity Build Tool nor
execute any of the following steps for forked repositories, avoiding
sending GitHub alerts to those repo owners.
2020-03-20 12:25:07 +08:00
Anton Kochkov
878519d552
Fixes for GitHub Actions ( #16001 )
2020-02-20 21:16:50 +08:00
Anton Kochkov
d98c43450f
Enable V testsuite on GitHub CI ( #15796 )
...
* Enable V testsuite on GitHub CI
2020-01-20 21:03:36 +08:00
Anton Kochkov
fec6330108
Coverity Scan GitHub Action ( #15539 )
2019-12-03 01:44:54 -06:00
GustavoLCR
fa594f6e74
Fix labeler environment
2019-11-28 14:46:03 -03:00
GustavoLCR
511e837341
Switch labeler to periodic-labeler ( #15517 )
...
With https://github.com/actions/labeler/issues/12
being an issue, the action's labeler is useless for PRs that come from a fork.
This one runs on a cron timer instead and doesn't suffer from the same issue.
2019-11-28 17:55:58 +01:00
GustavoLCR
9c08b9e4c0
Add pull request labeler ( #15503 )
2019-11-26 00:34:47 -06:00
Anton Kochkov
dce959d2af
Inital GitHub Actions ( #15467 )
...
* Inital GitHub Actions
* Disable Windows for now
* Disable tests for now
2019-11-21 22:54:08 -06:00