fix function types and implement anonymous functions on C backend (#207) #741
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: CI | |
on: | |
pull_request: | |
push: | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- name: Bootstrap (single pass) | |
run: ./make.sh --no-self | |
- name: Bootstrap | |
run: | | |
./make.sh | |
./bait symlink | |
- name: Build tools | |
run: bait build-tools | |
- name: Build examples | |
run: | | |
bait build-examples -b js | |
bait build-examples -b c | |
- name: Run compiler tests | |
run: bait test tests | |
- name: Run lib tests | |
run: bait test lib | |
- name: Run tool tests | |
run: bait test cli/tools | |
- name: Check markdown code blocks | |
run: | | |
bait check-md docs/docs.md | |
bait check-md README.md | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- name: Bootstrap | |
run: | | |
./make.bat | |
./bait.bat symlink --ghci-win | |
- name: Build tools | |
run: bait build-tools | |
- name: Build examples | |
run: bait build-examples | |
- name: Run compiler tests | |
run: bait test tests | |
- name: Run lib tests | |
run: bait test lib | |
- name: Run tool tests | |
run: bait test cli/tools | |
- name: Check markdown code blocks | |
run: | | |
bait check-md docs/docs.md | |
bait check-md README.md |