Circle CI: Test examplevm

This commit is contained in:
Paweł Bylica 2018-04-11 15:19:41 +02:00
parent 2e14d57482
commit 35ac166e3b
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with 7 additions and 3 deletions

View File

@ -9,13 +9,19 @@ jobs:
- run:
name: "Configure"
working_directory: ~/build
command: cmake ../project -DEVMC_BUILD_EXAMPLES=ON -DEVMC_BUILD_TESTS=ON
command: cmake ../project -DCMAKE_INSTALL_PREFIX=~/install -DBUILD_SHARED_LIBS=ON -DEVMC_BUILD_EXAMPLES=ON -DEVMC_BUILD_TESTS=ON
- run:
name: "Build"
command: cmake --build ~/build
- run:
name: "Test"
command: cmake --build ~/build --target test
- run:
name: "Install"
command: cmake --build ~/build --target install
- run:
name: "Run evmc-vmtester libevmc-examplevm.so"
command: ~/install/bin/evmc-vmtester ~/install/lib/libevmc-examplevm.so
test-docs:
docker:

View File

@ -47,5 +47,3 @@ set_tests_properties(vmtester-novm PROPERTIES
WILL_FAIL TRUE
FAIL_REGULAR_EXPRESSION "required but missing"
)
# TODO: Add test for `evmc-vmtester examplevm.so`