Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lezer parse to CI. #3494

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,27 @@ jobs:
git clone https://github.com/savonet/tree-sitter-liquidsoap.git
cd tree-sitter-liquidsoap
npm install
ls -l ../
npm exec tree-sitter -- parse -q -s ../../**/*.liq

lezer_parse:
runs-on: ubuntu-latest
needs: build_details
steps:
- name: Checkout latest code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Parse using liquidsoap-lezer-print-tree
run: |
# This one has unicode variable name that isn't supported yet.
rm -rf src/libs/list.liq
git clone https://github.com/savonet/codemirror-lang-liquidsoap.git
cd codemirror-lang-liquidsoap
npm install
npm exec liquidsoap-lezer-print-tree -- -q ../../**/*.liq

update_doc:
runs-on: ubuntu-latest
needs: build_details
Expand Down