gen.js; fix recursive struct inits #835
Workflow file for this run
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-js: | |
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 | |
- 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 | |
linux-c: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
# Note: this job still uses bait.js | |
- name: Bootstrap | |
run: | | |
./make.sh | |
./bait symlink | |
- name: Build examples | |
run: bait build-examples -b c | |
windows-js: | |
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 |