Skip to content

gen.c: implement floats #1133

gen.c: implement floats

gen.c: implement floats #1133

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
linux-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- 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@v6
- uses: oven-sh/setup-bun@v2
# Note: this job still uses bait.js
- name: Bootstrap
run: |
./make.sh
./bait symlink
# - name: Build tools
# run: bait build-tools -b c
- name: Build examples
run: bait build-examples -b c
- name: Run compiler tests
run: |
bait test -b c tests/array
bait test -b c tests/auto_str
# bait test -b c tests/cast
bait test -b c tests/comptime
bait test -b c tests/float
bait test -b c tests/for
# bait test -b c tests/generics
# bait test -b c tests/ident
# bait test -b c tests/if
bait test -b c tests/int
# bait test -b c tests/match
# bait test -b c tests/method
# bait test -b c tests/out
# bait test -b c tests/other
bait test -b c tests/overload
# bait test -b c tests/result
# bait test -b c tests/return
# bait test -b c tests/string
# bait test -b c tests/struct
# bait test -b c tests/type
- name: Run lib tests
run: |
# bait test -b c lib/bait
bait test -b c lib/builtin
# bait test -b c lib/cli
bait test -b c lib/encoding
bait test -b c lib/hash
bait test -b c lib/os
bait test -b c lib/strings
# - 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-js:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- 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