rizin/.github/workflows/rzshell-treesitter-tests.yml
Khairul Azhar Kasmiran d3f7ef2aa9
ci: Upgrade to Ubuntu 24.04 (Noble) (#4989)
* ci: Upgrade to Ubuntu 24.04 (Noble)
* Install clang-format-16 directly from the Noble repo
* Remove redundant gcc 11 ASAN build
* Count `dm` map items more granularly in `dbg_maps` test
* Grep only for exception symbols in `dbg_dmi` test
* Add workaround for `dbg_maps` test
* Mask out different digits in `dbg_dmh` test
* Add workarounds for sprintf false positives
* For now, use `-fno-sanitize=function` with clang asan build
2025-03-14 03:13:15 +08:00

32 lines
823 B
YAML

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-24.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