Skip to content

Commit

Permalink
Add lezer parse to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Oct 26, 2023
1 parent 41c222c commit ef86f38
Showing 1 changed file with 19 additions and 1 deletion.
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

0 comments on commit ef86f38

Please sign in to comment.