Rizin as subproject dist #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rizin CI tree-sitter test | |
on: | |
pull_request: | |
paths: | |
- 'subprojects/tree-sitter.wrap' | |
- 'subprojects/rizin-shell-parser/*' | |
- 'subprojects/rizin-shell-parser/**/*' | |
branches: | |
- dev | |
# Automatically cancel any previous workflow on new push. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: rizin-shell-parser-tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: cd subprojects/rizin-shell-parser/ && npm install | |
- name: Run tests | |
run: | | |
cd subprojects/rizin-shell-parser | |
export PATH=${PATH}:./node_modules/.bin | |
tree-sitter generate | |
tree-sitter test |