-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): update ci and add wasm build
- Loading branch information
Showing
2 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Build | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
wasm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up tree sitter | ||
uses: tree-sitter/setup-action/cli@v1 | ||
- name: wasm build | ||
run: tree-sitter build -w -o tree-sitter-scheme.wasm |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,15 +10,11 @@ jobs: | |
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
steps: | ||
- name: Set up the repo | ||
uses: tree-sitter/[email protected] | ||
with: | ||
node-version: ${{vars.NODE_VERSION}} | ||
- uses: actions/checkout@v4 | ||
- name: Set up tree sitter | ||
uses: tree-sitter/setup-action/cli@v1 | ||
- name: Run tests | ||
uses: tree-sitter/[email protected] | ||
with: | ||
test-library: ${{runner.os == 'Linux'}} | ||
corpus-files: corpus/* | ||
uses: tree-sitter/parser-test-action@v2 | ||
|
||
# chez: | ||
# runs-on: ubuntu-latest | ||
|
@@ -34,15 +30,12 @@ jobs: | |
sicp: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
- run: npm install | ||
- uses: actions/checkout@v4 | ||
- name: Set up tree sitter | ||
uses: tree-sitter/setup-action/cli@v1 | ||
- name: Download sicp code | ||
run: | | ||
mkdir -p sicp && cd sicp | ||
curl https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/code/allcode.tar.gz -O | ||
tar xvf allcode.tar.gz | ||
- run: npx tree-sitter parse sicp/*.scm -qt | ||
|
||
- run: tree-sitter parse sicp/*.scm -qt |