build: replace dev shell and Python VM tooling with cargo xtask
This commit is contained in:
1 parent
807965e044
commit
326fef0dc2
29 files changed
+550
-1426
No files matched your search
@@ -8,23 +8,10 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
- run: ./dev/check
|
||||
- run: rustup target add x86_64-unknown-none
|
||||
- run: cargo xtask check
|
||||
- run: python3 -m pip install -r dev/requirements-test.txt
|
||||
- run: python3 -m unittest discover -s dev -p 'test_*.py'
|
||||
- run: sudo apt-get update && sudo apt-get install -y qemu-system-x86 clang
|
||||
- run: python3 dev/vm.py smoke
|
||||
- run: |
|
||||
python3 -c 'import struct; from pathlib import Path; Path(".stela/leaf.arm64").write_bytes(struct.pack("<III",0xd2800500,0x91000800,0xd65f03c0))'
|
||||
./dev/cargo run --locked -p stela-cli -- compile-leaf .stela/leaf.arm64 --output-dir .stela/leaf-aot
|
||||
python3 dev/vm.py smoke --native .stela/leaf-aot/native.bin
|
||||
python3 -c 'import struct; from pathlib import Path; Path(".stela/loop.arm64").write_bytes(struct.pack("<7I",0xd28000e0,0xd2800001,0x91000c21,0xf1000400,0x54ffffc1,0xaa0103e0,0xd65f03c0))'
|
||||
./dev/cargo run --locked -p stela-cli -- compile-leaf .stela/loop.arm64 --output-dir .stela/loop-aot
|
||||
python3 dev/vm.py smoke --native .stela/loop-aot/native.bin --expected 21
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: debug-vm-evidence
|
||||
path: .stela/vm/
|
||||
instruction-correctness:
|
||||
name: Native correctness (${{ matrix.suite }})
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user