cli: enforce build for linux/riscv64 platform #202
Annotations
2 errors
test/builder/docker.test.ts > when building with the docker builder > should fail a non-riscv image:
apps/cli/test/builder/docker.test.ts#L45
AssertionError: expected [Function] to throw error including 'Expected riscv64' but got 'Command failed with exit code 1: dock…'
- Expected
+ Received
- Expected riscv64
+ Command failed with exit code 1: docker run --volume '/tmp/unit-test-1acdb5:/work' --workdir /work --interactive --user '1001:127' 'cartesi/sdk:0.11.0' xgenext2fs --block-size 4096 --faketime --readjustment '+0' --tarball root.tar root.ext2
+
+ xgenext2fs: too few blocks. Note: options have changed, see --help or the man page.
❯ test/builder/docker.test.ts:45:9
|
build
Process completed with exit code 1.
|