Circle CI: Test CMake package config

This commit is contained in:
Paweł Bylica 2018-06-19 11:41:51 +02:00
parent 9af6c35b48
commit 411073934a
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 10 additions and 0 deletions

View File

@ -31,6 +31,16 @@ jobs:
- store_artifacts:
path: ~/package
destination: package
- run:
name: "Test CMake package config"
command: |
mkdir ~/build-example-evmc && cd ~/build-example-evmc
cmake ~/project/examples/use_evmc_in_cmake -DCMAKE_PREFIX_PATH=~/install
cmake --build .
mkdir ~/build-example-instructions && cd ~/build-example-instructions
cmake ~/project/examples/use_instructions_in_cmake -DCMAKE_PREFIX_PATH=~/install
cmake --build .
- run:
name: "Run evmc-vmtester libevmc-examplevm.so"
command: ~/install/bin/evmc-vmtester ~/install/lib/libevmc-examplevm.so