This commit is a WORK IN PROGRESS for the base implementation of the HyphaeVM. This will be squashed into a larger commit eventually when the work of implementing the HyphaeVM is finished. Of note, the ISA is mostly finished and much of the VM design is in place. Yet to be done are a few traps in mycelium, migrating pieces like the number package and the sexpr package into the VM package, and of course much testing. Signed-off-by: Ava Affine <ava@sunnypup.io>
47 lines
721 B
YAML
Executable file
47 lines
721 B
YAML
Executable file
default:
|
|
image: rustlang/rust:nightly
|
|
|
|
stages:
|
|
- build
|
|
- test-frontend
|
|
- test-backend
|
|
|
|
compile-library:
|
|
stage: build
|
|
script:
|
|
- cargo build --lib
|
|
|
|
compile-decomposer:
|
|
stage: build
|
|
script:
|
|
- cargo build --bin decomposer
|
|
|
|
unit-test-lexer:
|
|
stage: test-frontend
|
|
script:
|
|
- cargo test lexer
|
|
|
|
unit-test-parser:
|
|
stage: test-frontend
|
|
script:
|
|
- cargo test parser
|
|
|
|
unit-test-number-package:
|
|
stage: test-frontend
|
|
script:
|
|
- cargo test number
|
|
|
|
unit-test-stackstack:
|
|
stage: test-backend
|
|
script:
|
|
- cargo test stackstack
|
|
|
|
unit-test-quickmap:
|
|
stage: test-backend
|
|
script:
|
|
- cargo test hmap
|
|
|
|
unit-test-instruction-decoding:
|
|
stage: test-backend
|
|
script:
|
|
- cargo test util
|