pancake
23ad9b50ee
Fix #12335 - ignore system-installed r2 includes ##build
2021-05-28 00:45:48 +02:00
pancake
c3953d64d6
Use gperf on anal/d and improve build and checks ##anal
...
* Add --without-gperf configure flag
* Update sdb to support gperf.foreach and faster ls.sort()
* Support cc and types sdb gperfs
* add r_str_newvf
* Honor HAVE_GPERF in more places
* Add CI job to build and test cmds with gperf
2021-05-20 00:22:20 +02:00
pancake
374037a4d2
Fix warnings
2021-05-18 19:34:23 +02:00
pancake
e92d170a3b
Add support for acr/musl-gcc static builds ##build
2021-05-14 21:34:21 +02:00
pancake
efeba1d15b
Fix --with-rpath and add CI tests ( #18668 ) ##build
2021-05-09 19:57:11 +02:00
pancake
f4e64ac07e
Rollback to ubuntu18 to get coverity bins to work again
2021-04-30 12:17:04 +02:00
pancake
d3738096a8
Use sysctl vsyscall=emulate
to run coverity binaries
2021-04-29 18:10:40 +02:00
pancake
7546f34e57
Update sdb and use of SdbGperf in asm.d ##asm
2021-04-25 02:31:46 +02:00
pancake
2434c3ca74
Switch to Capstone5 as default ##asm ( #18127 )
...
* Add riscv for capstone5 in the meson
* Report capstone version in the asm plugins
* Many changes in the ppc analysis, seems like it's improved, (emulation quality and xrefs)
* Update all tests and report issues in capstone4 to upstream
* Fix-x86-16 test marked as broken as it needs better fix
2021-04-24 22:04:51 +02:00
pancake
e53ed0ab04
Use proper ascii quotes
2021-04-24 21:58:09 +02:00
pancake
0bba1059f8
Don’t treat warnings as errors in the macOS CI
2021-04-24 21:58:09 +02:00
pancake
cbc949c039
Remove tree-sitter and the r2-shell-parser ##shell
...
* Will be reimplemented soon with a new parser
* Simplifies and speedup the build
2021-04-24 21:58:09 +02:00
pancake
88c76bc0f1
Use debian stable to build the debian package instead of Ubuntu ( #18595 )
...
* GHA references https://github.com/actions/virtual-environments/issues/3111
2021-04-19 14:14:33 +02:00
pancake
639045efc5
Dont run debugger tests in ASAN mode and fix crash in snap.c
2021-03-15 12:26:09 +01:00
pancake
c11cd5c69b
Add R2R_SKIP_ASM env var handling in r2r ##test ( #18462 )
2021-03-15 01:31:08 +01:00
pancake
ee3afa01c9
Fix debian32 in CI ##build
2021-02-27 01:01:22 +01:00
pancake
1997994405
Remove unnecessary ci step
2021-02-22 13:19:38 +01:00
pancake
8be28cc949
Fix linux-static pub action ##ci
2021-02-14 02:41:34 +01:00
pancake
77cf15c2c3
Fixes to make the r2blob shine again ##build
2021-02-14 02:41:34 +01:00
pancake
ef8e3cb512
Make macos-ci green for now
2021-02-14 00:50:40 +01:00
pancake
9398ce4eb7
Add -Wno-unneeded-internal-declaration
2021-02-13 05:18:09 +01:00
pancake
054b5fa46a
Add 32bit Debian packaging and bonus CI fixes ##build
2021-02-13 05:09:30 +01:00
pancake
48d8fbdd96
Fix missing quote
2021-02-11 22:56:37 +01:00
pancake
ea6774b751
Enforce -std=gnu89 with -Werror instead of hacky regexes in tests
2021-02-11 18:19:06 +01:00
pancake
0ceafe426b
Dist for macOS
2021-02-11 16:01:48 +01:00
pancake
3a262b31ea
asan-fuzz skip archos tests
2021-02-03 23:55:00 +01:00
pancake
d2730a441c
Relax asan ci
2021-02-01 02:47:43 +01:00
pancake
8cf1adfb27
Fix and comment the broken debugger tests after last gha update ( #18317 )
...
* Add R2R_SKIP_ARCHOS env var handling in r2r to fix TCC suite
2021-01-31 23:00:38 +01:00
pancake
f80c847376
Introduce w32 and w64 in the CI ##build
2021-01-31 00:40:40 +01:00
pancake
569f1f2fb0
Add Windows ZIP in the CI ( #18310 ) ##build
2021-01-30 00:20:16 +01:00
pancake
27da0d4db9
Upload android-arm64 artifact and disable memleak checks in meson-asan testruns ##ci
2021-01-25 15:29:22 +01:00
pancake
36d63b46f6
Fixes for the android-ndk-installer script and the android-arm64 CI job ( #18287 )
...
Co-authored-by: pancake <pancake@nopcode.org>
2021-01-25 12:30:57 +01:00
pancake
85edbad0aa
Add WIP android-arm64 ACR build and other CI improvements ##ci
...
* Fix macos test
* Add cabextract for pdb tests
* Add android-ndk-installer script
* Using NDK r21d
2021-01-25 11:34:08 +01:00
pancake
778b5e041e
Fix tcc in the CI, their latest GIT contains non-executable configure script
2021-01-24 19:45:05 +01:00
pancake
c3f7d0e1d1
Add CI test to ensure symlink reinstalls work ( #18252 ) ##build
2021-01-22 00:52:12 +01:00
pancake
0dbc4ee537
Add missing files and remaining patches from import
2021-01-19 05:37:17 +01:00
Anton Kochkov
1a7a2d5bc4
Add Meson for static build
2021-01-19 05:37:17 +01:00
pancake
b433916b25
Fix android and ios artifact names
2021-01-18 11:15:04 +01:00
pancake
05399c5a45
macos-test doesnt needs meson
2021-01-13 10:37:39 +01:00
pancake
8f0016cc4c
Dont detect leaks in the asan job and install r2pipe in brew ##ci
2021-01-13 10:29:33 +01:00
Liumeo
b0877cecb4
Fix macos r2pipe
2021-01-12 22:26:05 -05:00
pancake
76cd69ad66
Proper artifact naming and use more r_str_get to avoid some null derefs
2021-01-13 02:08:06 +01:00
pancake
5910d1891f
Fix a couple of warnings for -Werror
2021-01-13 01:35:54 +01:00
pancake
af66a574ba
Fix TCC CI and improve the rest of jobs ##ci
2021-01-13 01:28:10 +01:00
pancake
5a1fab355f
Enable Android and Windows CI, also fix r2pipe test (python vs python3)
2021-01-12 15:02:37 +01:00
pancake
da89020969
Cflags in the yaml was not a good idea
2021-01-12 14:18:29 +01:00
pancake
1184610971
Fix the CI badge and fully rewrite all the workflows to make sense ##build
...
* Windows, Linux, Static, macOS, Android, iOS builds published for every commit
* Kept coverage, coverity, fuzzing tests, lgtm and -Werror jobs
* Kill the continuos, the over-engineered matrix and other empty or unnecessary tasks (250 vs 900LOC)
* Jobs TODO: fatmac, termux and rpm (centos) packages
2021-01-12 13:41:21 +01:00
pancake
658c6a0918
Create dist/ to hold all the distribution build files ##build ( #18131 )
2020-12-31 18:57:05 +01:00
pancake
4e0f0807d9
Forbid space builds with acr/make and add job to test them with meson/ninja ##build
2020-12-29 15:08:52 +01:00
Anton Kochkov
8290e502bb
Remove forgotten CI debug lines ( #18018 )
2020-12-11 10:22:42 +01:00
pancake
6693e33fb4
Bring back tcc support ##build ( #17295 )
...
* Fix TinyCC build ##build
* Jemalloc - fix TinyCC build ##build
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2020-12-11 09:42:12 +01:00
pancake
3bff6182ac
Simplify github issue/pr templates ( #18009 )
2020-12-08 23:51:17 +01:00
Anton Kochkov
8b3526b677
More verbose TCC tests
2020-12-04 16:30:53 +08:00
Anton Kochkov
58ac34cea5
Fix TCC CI job test dependencies
2020-11-27 12:37:11 +08:00
GustavoLCR
94b2d83004
Add option to log r2r test results and publish it in the CI ( #17964 ) ##test
2020-11-24 03:43:41 +01:00
Anton Kochkov
06e74e1f1b
Fix MacOS Meson GitHub Action
2020-11-19 12:21:32 +08:00
Anton Kochkov
e1623e189a
Use Meson 0.55.3
2020-11-04 10:07:51 +08:00
Anton Kochkov
7bfe9d2960
Add MacOS Meson build job
2020-11-04 10:07:51 +08:00
Khairul Azhar Kasmiran
9c66a31a97
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-27 18:19:01 +08:00
Riccardo Schirone
81e487429f
Use -Wno-cpp to avoid errors on #warning ( #17785 )
2020-10-14 16:57:07 +08:00
Riccardo Schirone
741d22ed61
Use -Werror when building in CI ( #17781 )
2020-10-13 12:42:57 +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
GustavoLCR
489538e02b
Add DbgEng based debug backend for Windows ##debug ( #17491 )
...
* Rename `windbg` plugin to `winkd` ##debug
* Add DbgEng based debug backend for Windows ##debug
2020-08-24 19:01:10 +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
aeddbc85aa
Use stale
label instead of wontfix
( #17085 )
2020-06-16 15:48:33 +08:00
Riccardo Schirone
66ac059336
First version of stale file to automatically close old issues ( #16924 )
2020-06-16 12:18:23 +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
Anton Kochkov
e38e31e52f
Update GitHub autolabeler ( #16475 )
2020-04-08 12:38:40 +08: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
Maijin
2e9607dc54
Add .github/workflows auto-labeler infrastructure ( #16154 )
...
Add .github/workflows auto-labeler infrastructure
2020-03-09 12:00:22 +08:00
Khairul Azhar Kasmiran
a2e3a142e1
Use absolute URLs in pull request template ( #16036 )
2020-02-23 19:45:01 +02:00
Anton Kochkov
878519d552
Fixes for GitHub Actions ( #16001 )
2020-02-20 21:16:50 +08:00
Itay Cohen
e4d3f7d9c8
Add GitHub template for new pull requests ( #15907 )
...
Add GitHub template for new pull requests
2020-01-30 10:22:39 +02:00
Maijin
03d4488588
Add r2r auto-label for tests ( #15902 )
...
Add r2r auto-label for tests
2020-01-27 07:44:14 +01: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
Florian Märkl
ae61aa8e37
Imports Tests from radare2-regressions ( #15546 )
2019-12-08 15:31:14 +01: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
Anton Kochkov
1eb3fe25c9
Fix regressions URL ( #15027 )
2019-09-13 16:49:23 +08:00
Anton Kochkov
b22d9f3065
Fix grammar across the code
2019-06-18 14:51:30 +08:00
Maijin
29504f8ed1
Remove legacy issue templates and use modern one's ##docs
2018-11-03 13:15:44 +01:00
Maijin
0e24795912
Update ISSUE_TEMPLATE.md
2018-02-18 09:27:47 +01:00
Maijin
2697520f4c
Update ISSUE_TEMPLATE.md
2018-02-18 09:27:08 +01:00
Giuseppe
d6047b24ff
Fix typo ( #9264 )
2018-01-29 23:45:51 +01:00
sivaramaaa
7d29a65070
Make providing binary or link in issue_template mandatory ( #9205 )
...
* Make providing binary or link mandatory
* Update ISSUE_TEMPLATE.md
2018-01-16 10:42:08 +01:00
Lowly Worm
1154c4e86b
use gist instead of pastebin for the issue template
2018-01-04 14:19:41 -05:00
Maijin
8526f33934
Update ISSUE_TEMPLATE.md
2018-01-04 01:32:21 +01:00
Maijin
469e8112f5
Add an issue template
2017-12-27 21:21:56 +01:00