rizin/.github/workflows/newshell-treesitter-tests.yml
Riccardo Schirone f8291ee3c1
Switch to meson subprojects and wraps
* Remove tree-sitter/sdb git submodules and move them to meson subprojects/wraps
* Use meson subprojects/wraps to get capstone
* Remove capstone patches as they are already applied to rizinorg/capstone repository
* Use meson from master branch to create the release tarball, as all released versions so far have a bug that prevent wrap-git to be patched correctly when creating the tarball with meson dist
* Add check_meson_subproject script to do a quick check if the currently downloaded subprojects are updated
* Add subprojects_check meson option to skip the check_meson_subproject script
* Update documentation to remove references to git submodules.
2021-02-03 14:31:11 +01:00

27 lines
629 B
YAML

name: Rizin CI tree-sitter test
on:
pull_request:
paths:
- 'subprojects/tree-sitter.wrap'
- 'shlr/rizin-shell-parser/*'
- 'shlr/rizin-shell-parser/**/*'
branches:
- master
jobs:
build:
name: rizin-shell-parser-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: cd shlr/rizin-shell-parser/ && npm install
- name: Run tests
run: |
cd shlr/rizin-shell-parser
export PATH=${PATH}:./node_modules/.bin
tree-sitter generate
tree-sitter test