Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ jobs:
racket -l herbie report --threads yes --seed 1 bench/hamming/rearrangement.fpcore graphs0
racket -l herbie report --threads yes --seed 1 bench/hamming/rearrangement.fpcore graphs1
racket infra/diff.rkt graphs0 graphs1

# Test egglog mode
- name: "Run Herbie with egglog"
run: racket -l herbie report --timeout 600 +o generate:egglog --seed 1 bench/hamming/trigonometry.fpcore graphs2
run: racket -y infra/ci.rkt --egglog --seed 0 bench/hamming/trigonometry.fpcore

# Test the egg-herbie Rust code
- run: cd egg-herbie && cargo clippy --tests
Expand Down
1 change: 1 addition & 0 deletions infra/ci.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
(define given-seed (read (open-input-string rs)))
(when given-seed
(set-seed! given-seed))]
[("--egglog") "Switch to the egglog backend" (enable-flag! 'generate 'egglog)]
[("--platform") platform "Which platform to use for tests" (*platform-name* platform)]
[("--precision") prec "Which precision to use for tests" (*precision* (string->symbol prec))]
[("--num-iters")
Expand Down
Loading